summaryrefslogtreecommitdiffstats
path: root/src/suil_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-21 05:35:43 +0000
committerDavid Robillard <d@drobilla.net>2012-03-21 05:35:43 +0000
commit6d02219044cbafc072c0eed93ce65eddc17b0961 (patch)
tree802ef3d693fde3cc89dcb3f13d641e27773b94f4 /src/suil_internal.h
parente6f61d105c1536f6821977f94927ef70f9bfe7d7 (diff)
downloadsuil-6d02219044cbafc072c0eed93ce65eddc17b0961.tar.gz
suil-6d02219044cbafc072c0eed93ce65eddc17b0961.tar.bz2
suil-6d02219044cbafc072c0eed93ce65eddc17b0961.zip
Implement resize extension automatically at the wrapper level.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4095 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/suil_internal.h')
-rw-r--r--src/suil_internal.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/suil_internal.h b/src/suil_internal.h
index 52fa7ee..0f35ab5 100644
--- a/src/suil_internal.h
+++ b/src/suil_internal.h
@@ -1,5 +1,5 @@
/*
- Copyright 2007-2011 David Robillard <http://drobilla.net>
+ Copyright 2007-2012 David Robillard <http://drobilla.net>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -31,6 +31,9 @@ static inline char* dlerror(void) { return "Unknown error"; }
#endif
#include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
+#ifdef HAVE_LV2_UI_RESIZE
+#include "lv2/lv2plug.in/ns/ext/ui-resize/ui-resize.h"
+#endif
#include "suil/suil.h"
@@ -60,6 +63,9 @@ typedef struct _SuilWrapper {
void* lib;
LV2_Feature** features;
void* impl;
+#ifdef HAVE_LV2_UI_RESIZE
+ LV2_UI_Resize_Feature resize;
+#endif
} SuilWrapper;
struct SuilInstanceImpl {