Re: what does _IMPLEMENT_INTERFACE do?
- From: Murray Cumming <murrayc murrayc com>
- To: Ian Martin <martin_id vodafone co nz>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: what does _IMPLEMENT_INTERFACE do?
- Date: Thu, 27 Feb 2014 12:31:53 +0100
On Thu, 2014-02-27 at 15:32 +1300, Ian Martin wrote:
Hi,
Trying to understand gmmproc better. What is the difference between
declaring a public parent to a class, and the _IMPLEMENTS_INTERFACE m4 call?
It causes lines like this to be added in the .cc file:
Buildable::add_interface(get_type());
which results in a call to g_type_add_interface_static(), telling the
GObject/GType system that our custom GType implements the interface.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]