diff options
Diffstat (limited to 'src/objects.h')
-rw-r--r-- | src/objects.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/objects.h b/src/objects.h index dd68c02..adaf8fc 100644 --- a/src/objects.h +++ b/src/objects.h @@ -28,6 +28,9 @@ #endif +#include "loadsave.h" + + enum objtype { TEXT, @@ -54,6 +57,7 @@ struct object void (*render_object)(cairo_t *cr, struct object *o); void (*update_object)(struct object *o); void (*delete_object)(struct object *o); + void (*serialize)(struct object *o, struct serializer *ser); }; |