SketchUp SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
options_provider.h
Go to the documentation of this file.
1 // Copyright 2013 Trimble Navigation Ltd. All Rights Reserved
2 
3 #ifndef SLAPI_MODEL_OPTIONS_PROVIDER_H_
4 #define SLAPI_MODEL_OPTIONS_PROVIDER_H_
5 
6 #include <slapi/slapi.h>
7 #include <slapi/unicodestring.h>
8 #include <slapi/model/defs.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
30 SU_RESULT SUOptionsProviderGetNumKeys(SUOptionsProviderRef options_provider,
31  size_t* count);
32 
46 SU_RESULT SUOptionsProviderGetKeys(SUOptionsProviderRef options_provider,
47  size_t len,
48  SUStringRef keys[],
49  size_t* count);
50 
105 SU_RESULT SUOptionsProviderGetValue(SUOptionsProviderRef options_provider,
106  const char* key,
107  SUTypedValueRef* value);
108 
119 SU_RESULT SUOptionsProviderSetValue(SUOptionsProviderRef options_provider,
120  const char* key,
121  SUTypedValueRef value);
122 
123 #ifdef __cplusplus
124 } // extern "C" {
125 #endif
126 
127 #endif // SLAPI_MODEL_OPTIONS_PROVIDER_H_