summaryrefslogtreecommitdiffstats
path: root/ganv/box.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-03-15 22:35:18 +0000
committerDavid Robillard <d@drobilla.net>2014-03-15 22:35:18 +0000
commit3b63d9fa3114f0292561484f299d9d45ec451c17 (patch)
treeb45de3ba8d2eded5731908cf6842b4bb6392863f /ganv/box.h
parentba34221e0ee4c32ced4770563638f472860e0a16 (diff)
downloadganv-3b63d9fa3114f0292561484f299d9d45ec451c17.tar.gz
ganv-3b63d9fa3114f0292561484f299d9d45ec451c17.tar.bz2
ganv-3b63d9fa3114f0292561484f299d9d45ec451c17.zip
Clean up public canvas interface.
Eliminate thin C wrappers around C++ methods (move actual implementation into C). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5338 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ganv/box.h')
-rw-r--r--ganv/box.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ganv/box.h b/ganv/box.h
index bef20a0..da94c68 100644
--- a/ganv/box.h
+++ b/ganv/box.h
@@ -48,9 +48,12 @@ struct _GanvBoxClass {
void (*set_height)(GanvBox* box,
double height);
+
+ /* Reserved for future expansion */
+ gpointer spare_vmethods [4];
};
-GType ganv_box_get_type(void);
+GType ganv_box_get_type(void) G_GNUC_CONST;
double ganv_box_get_x1(const GanvBox* box);
double ganv_box_get_y1(const GanvBox* box);
double ganv_box_get_x2(const GanvBox* box);