diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-11-05 22:02:54 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-11-05 22:02:54 +0100 |
commit | 6f29edb7b7ea789bc4bde1ee3237cca96c271202 (patch) | |
tree | 6ed2b9e0c20d1392c3c3ce0224818def5568f198 /src/presentation.h | |
parent | dbff61bb3053e4fe30397b48a32ec415119bcf66 (diff) |
Loading mostly works
Diffstat (limited to 'src/presentation.h')
-rw-r--r-- | src/presentation.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/presentation.h b/src/presentation.h index 804cc4b..b659ac7 100644 --- a/src/presentation.h +++ b/src/presentation.h @@ -91,6 +91,12 @@ struct toolinfo void (*im_commit)(struct object *o, gchar *str, struct toolinfo *tip); int (*valid_object)(struct object *o); + + void (*realise)(struct toolinfo *tip, GtkWidget *w); + + struct object *(*deserialize)(struct presentation *p, + struct ds_node *root, struct slide *s, + struct toolinfo *tip); }; @@ -175,7 +181,12 @@ struct presentation extern struct presentation *new_presentation(void); + +extern struct slide *new_slide(void); extern struct slide *add_slide(struct presentation *p, int pos); +extern int insert_slide(struct presentation *p, struct slide *s, int pos); +extern void free_slide(struct slide *s); + extern int add_object_to_slide(struct slide *s, struct object *o); extern void remove_object_from_slide(struct slide *s, struct object *o); extern struct object *find_object_at_position(struct slide *s, |