On Mon, Dec 29, 2008 at 7:52 PM, Maciej Piechotka <[email protected]> wrote:
> Hello. How to handle it in the most glib-style. I have a 2 classes - A
> and B.
> A:
> - Should have a virtual method returning B
> B:
> - Should have a virtual method returning A
>
Generally in C, we'll use a common header to declare a forward
declaration of the
instance types:
typedef _FooA FooA
typedef _FooB FooB
Then both headers of A and B classes can include
the same header without including eachother.
Cheers,
-Tristan
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list