comparison vamp-sdk/plugguard.h @ 234:7b12c3decc42 distinct-libraries

* install fixes, mostly
author cannam
date Fri, 07 Nov 2008 16:39:24 +0000
parents 521734d2b498
children 3cf5bd155e5b
comparison
equal deleted inserted replaced
233:521734d2b498 234:7b12c3decc42
32 shall not be used in advertising or otherwise to promote the sale, 32 shall not be used in advertising or otherwise to promote the sale,
33 use or other dealings in this Software without prior written 33 use or other dealings in this Software without prior written
34 authorization. 34 authorization.
35 */ 35 */
36 36
37 #ifndef _VAMP_SDK_GUARDS_H_ 37 #ifndef _VAMP_SDK_PLUGGUARD_H_
38 #define _VAMP_SDK_GUARDS_H_ 38 #define _VAMP_SDK_PLUGGUARD_H_
39
40 #define VAMP_SDK_VERSION "2.0"
41 #define VAMP_SDK_MAJOR_VERSION 2
42 #define VAMP_SDK_MINOR_VERSION 0
43 39
44 /** 40 /**
45 * Normal usage should be: 41 * Normal usage should be:
46 * 42 *
47 * - Plugins include vamp-sdk/Plugin.h or vamp-sdk/PluginBase.h. 43 * - Plugins include vamp-sdk/Plugin.h or vamp-sdk/PluginBase.h.
65 * host rather than having to load it. 61 * host rather than having to load it.
66 * 62 *
67 * What if the host does include a vamp-sdk header by mistake? We can 63 * What if the host does include a vamp-sdk header by mistake? We can
68 * catch it if it's included before something from vamp-hostsdk. If 64 * catch it if it's included before something from vamp-hostsdk. If
69 * it's included after something from vamp-hostsdk, it will work OK 65 * it's included after something from vamp-hostsdk, it will work OK
70 * anyway. The problem case is where nothing from vamp-hostsdk is 66 * anyway. The remaining problem case is where nothing from
71 * included in the same file. 67 * vamp-hostsdk is included in the same file. We can't catch that.
72 */ 68 */
73 69
74 #ifdef _VAMP_IN_HOSTSDK 70 #ifdef _VAMP_IN_HOSTSDK
75 71
76 #define _VAMP_SDK_PLUGSPACE_BEGIN(h) 72 #define _VAMP_SDK_PLUGSPACE_BEGIN(h)