Interface data/multiple inheritance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

GObject does not support multiple inheritance.
GInterface cannot have any data members (g_type_class_add_private() is
not possible either).  

Is there any other way to create a class that has is-a relation to two
classes/interfaces/whatever that each carries data?

I have control over all the classes/interfaces involved.  The thing I
want to avoid is replication of identical code handling the data that
logically goes with the interface in each class that implements the
interface.

Yeti

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux