ソースを参照

cmPrefs.h: Update comments

master
kevin 11年前
コミット
1728a83539
1個のファイルの変更3行の追加0行の削除
  1. 3
    0
      cmPrefs.h

+ 3
- 0
cmPrefs.h ファイルの表示

@@ -41,6 +41,9 @@ extern "C" {
41 41
   // Set 'fnName' to NULL to use cmFsAppName() as the pref file name.
42 42
   // Set 'fnExt' to NULL to use '.js' as the pref file extension.
43 43
   // 'cbFunc'  and 'cbDataPtr' are optional in both versions.
44
+  // 'pathPrefixStr' (optional) provides a prefix to be added to 
45
+  // the path of each preference variable. This can be used to separate
46
+  // preference data from other data in the preference file.
44 47
   cmPrRC_t cmPrefsInit(   cmCtx_t* ctx, cmPrH_t* hp, const cmChar_t* fnName, const cmChar_t* fnExt, cmPrefsOnChangeFunc_t cbFunc, void* cbDataPtr, const cmChar_t* pathPrefixStr );
45 48
   cmPrRC_t cmPrefsInitialize( cmCtx_t* ctx, cmPrH_t* hp, const cmChar_t* fn, cmPrefsOnChangeFunc_t cbFunc, void* cbDataPtr, const cmChar_t* pathPrefixStr);
46 49
   cmPrRC_t cmPrefsFinalize(   cmPrH_t* hp );

読み込み中…
キャンセル
保存