|
@@ -24,6 +24,12 @@ extern "C" {
|
24
|
24
|
kDuplicateIdPrRC
|
25
|
25
|
};
|
26
|
26
|
|
|
27
|
+ enum
|
|
28
|
+ {
|
|
29
|
+ kMaxVarPrId = 0x7fffffff // User assigned variable id's given to cmPrefsCreateXXX()
|
|
30
|
+ // must be less than kMaxVarPrId
|
|
31
|
+ };
|
|
32
|
+
|
27
|
33
|
typedef void (*cmPrefsOnChangeFunc_t)( cmPrH_t h, void* cbDataPtr, unsigned id );
|
28
|
34
|
|
29
|
35
|
extern cmPrH_t cmPrNullHandle;
|
|
@@ -139,7 +145,8 @@ extern "C" {
|
139
|
145
|
// The 'id' argument is optional. If 'id' is set to cmInvalidId then the
|
140
|
146
|
// variable will be automatically assigned an id. The value of the
|
141
|
147
|
// automatically assigned id can be found from the path string
|
142
|
|
- // via cmPrefsId()
|
|
148
|
+ // via cmPrefsId(). If 'id' is not set to cmInvalidId then it must be less than
|
|
149
|
+ // kMaxVarId.
|
143
|
150
|
|
144
|
151
|
// Set kForceValuePrFl
|
145
|
152
|
enum { kForceValuePrFl=0x01 };
|