aboutsummaryrefslogtreecommitdiffstats
path: root/ns/ext/ui-resize/ui-resize.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-21 01:36:00 +0000
committerDavid Robillard <d@drobilla.net>2011-11-21 01:36:00 +0000
commiteb43c8896480114b224755e824fae2e2f7485256 (patch)
tree26e91bd8dc6421d2296a33991e90f7dcb546b079 /ns/ext/ui-resize/ui-resize.h
parentdf79255ccef7fb5d091e9d4e52f3c46545b53282 (diff)
downloadlv2-eb43c8896480114b224755e824fae2e2f7485256.tar.xz
Move ns to lv2/ns so repository top level can be used as an include dir directly.
Diffstat (limited to 'ns/ext/ui-resize/ui-resize.h')
-rw-r--r--ns/ext/ui-resize/ui-resize.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/ns/ext/ui-resize/ui-resize.h b/ns/ext/ui-resize/ui-resize.h
deleted file mode 100644
index cf5ccc6..0000000
--- a/ns/ext/ui-resize/ui-resize.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- Copyright 2011 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
- copyright notice and this permission notice appear in all copies.
-
- THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-*/
-
-#ifndef LV2_UI_RESIZE_H
-#define LV2_UI_RESIZE_H
-
-#define LV2_UI_RESIZE_URI "http://lv2plug.in/ns/ext/ui-resize"
-
-typedef void* LV2_UI_Resize_Feature_Data;
-
-/**
- UI Resize Feature.
-
- This structure may be used in two ways: as a feature passed by the host
- (e.g. via the features parameter of LV2UI_Descriptor::instantiate()) or
- as a feature exposed by a UI (e.g. via LV2UI_Descriptor::extension_data()).
-
- In both cases, the URI to be used is
- http://lv2plug.in/ns/ext/ui-resize#UIResize
-*/
-typedef struct {
-
- LV2_UI_Resize_Feature_Data data;
-
- /**
- Request or notify a size change.
-
- When this struct is provided by the host, the UI may call this
- function to notify the host that a size change is desired, or notify
- the host of the initial size of the UI.
-
- When this struct is provided by the plugin, the host may call this
- function in the UI thread to notify the UI that it should change its
- size to the given dimensions.
-
- @return 0 on success.
- */
- int (*ui_resize)(LV2_UI_Resize_Feature_Data data,
- int width,
- int height);
-
-} LV2_UI_Resize_Feature;
-
-#endif /* LV2_UI_RESIZE_H */
-