[Insert name here] Reference Manual | ||||
---|---|---|---|---|
#define GAN_SERIALISABLE_GET_INTERFACE (inst) GanSerialisable; GanSerialisableInterface; gboolean (*GanSerialiseFunc) (GanSerialisable *serialisable, GIOChannel *channel, GError **error); GanSerialisable* (*GanDeserialiseFunc) (GIOChannel *channel, GError **error); gboolean gan_object_class_is_serialisable (GObjectClass *klass); gboolean gan_serialisable_serialise (GanSerialisable *serialisable, GIOChannel *channel, GError **error);
#define GAN_SERIALISABLE_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GAN_TYPE_SERIALISABLE, GanSerialisableInterface))
inst : |
typedef struct { GTypeInterface parent; /* virtual functions */ GanSerialiseFunc serialise; GanDeserialiseFunc deserialise; } GanSerialisableInterface;
gboolean (*GanSerialiseFunc) (GanSerialisable *serialisable, GIOChannel *channel, GError **error);
serialisable : |
|
channel : |
|
error : |
|
Returns : |
GanSerialisable* (*GanDeserialiseFunc) (GIOChannel *channel, GError **error);
channel : |
|
error : |
|
Returns : |
gboolean gan_object_class_is_serialisable (GObjectClass *klass);
klass : |
|
Returns : |
gboolean gan_serialisable_serialise (GanSerialisable *serialisable, GIOChannel *channel, GError **error);
serialisable : |
|
channel : |
|
error : |
|
Returns : |