1 #ifndef KBTIM_SETTING_H
2 #define KBTIM_SETTING_H
7 char m_szIniFile[MAX_PATH*2];
8 char m_szCfgFile[MAX_PATH*2];
12 HANDLE m_hNotification;
14 int __fastcall IniGetKeyInt(char *section, char *key,int *n);
15 int __fastcall IniGetKeyInt32(char *section, char *key,int32 *n) {
16 return IniGetKeyInt(section, key, (int*) n);
18 int __fastcall IniGetKeyInt8(char *section, char *key,int8 *n);
19 int __fastcall IniGetKeyFloat(char *section, char *key, FLOAT_T *n);
20 int __fastcall IniGetKeyIntArray(char *section, char *key, int *n, int arraysize);
21 int __fastcall IniGetKeyStringN(char *section, char *key, char *str, int size);
23 void __fastcall GetIniCfgFileTime(FILETIME* pftIni, FILETIME* pftCfg);
25 void __fastcall KbTimOverrideSFSettingLoad(void);
27 const char* __fastcall GetIniFileName(void) const { return m_szIniFile; }
28 const char* __fastcall GetCfgFileName(void) const { return m_szCfgFile; }
29 BOOL __fastcall LoadIniFile(const char *cszIniFile);
30 void __fastcall Close(void);
31 void __fastcall Apply(void);
32 BOOL __fastcall IsUpdated(void);