00001 #ifndef _ofxPropertyHost_h_
00002 #define _ofxPropertyHost_h_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #include "ofxCore.h"
00035
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039
00044 #define kOfxPropertySuite "OfxPropertySuite"
00045
00049 typedef struct OfxPropertySuiteV1 {
00064 OfxStatus (*propSetPointer)(OfxPropertySetHandle properties, const char *property, int index, void *value);
00065
00080 OfxStatus (*propSetString) (OfxPropertySetHandle properties, const char *property, int index, const char *value);
00081
00096 OfxStatus (*propSetDouble) (OfxPropertySetHandle properties, const char *property, int index, double value);
00097
00112 OfxStatus (*propSetInt) (OfxPropertySetHandle properties, const char *property, int index, int value);
00113
00128 OfxStatus (*propSetPointerN)(OfxPropertySetHandle properties, const char *property, int count, void **value);
00129
00144 OfxStatus (*propSetStringN) (OfxPropertySetHandle properties, const char *property, int count, const char **value);
00145
00161 OfxStatus (*propSetDoubleN) (OfxPropertySetHandle properties, const char *property, int count, double *value);
00162
00178 OfxStatus (*propSetIntN) (OfxPropertySetHandle properties, const char *property, int count, int *value);
00179
00193 OfxStatus (*propGetPointer)(OfxPropertySetHandle properties, const char *property, int index, void **value);
00194
00208 OfxStatus (*propGetString) (OfxPropertySetHandle properties, const char *property, int index, char **value);
00209
00225 OfxStatus (*propGetDouble) (OfxPropertySetHandle properties, const char *property, int index, double *value);
00226
00240 OfxStatus (*propGetInt) (OfxPropertySetHandle properties, const char *property, int index, int *value);
00241
00255 OfxStatus (*propGetPointerN)(OfxPropertySetHandle properties, const char *property, int count, void **value);
00256
00272 OfxStatus (*propGetStringN) (OfxPropertySetHandle properties, const char *property, int count, char **value);
00273
00287 OfxStatus (*propGetDoubleN) (OfxPropertySetHandle properties, const char *property, int count, double *value);
00288
00302 OfxStatus (*propGetIntN) (OfxPropertySetHandle properties, const char *property, int count, int *value);
00303
00314 OfxStatus (*propReset) (OfxPropertySetHandle properties, const char *property);
00315
00327 OfxStatus (*propGetDimension) (OfxPropertySetHandle properties, const char *property, int *count);
00328 } OfxPropertySuiteV1;
00329
00334
00335
00340 #ifdef __cplusplus
00341 }
00342 #endif
00343
00344
00345 #endif