diff options
author | George Hazan <george.hazan@gmail.com> | 2016-04-06 13:39:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-04-06 13:39:41 +0000 |
commit | adf7fec7b1e32e93998e08cd41e9d84852db1758 (patch) | |
tree | 1dd6c4130659b3741cc693902c6fdc89518e8b81 /plugins/Clist_modern/src/modern_skinengine.h | |
parent | 56c24779dc455536c35866a65b25e4d729074b9d (diff) |
clist_modern:
- fix for a nightmare with contsct renaming;
- end of a crutch with caching 'Unknown contact';
- cache control over the contact's name went to the core;
- code cleaning;
- version bump;
git-svn-id: http://svn.miranda-ng.org/main/trunk@16596 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinengine.h')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinengine.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/plugins/Clist_modern/src/modern_skinengine.h b/plugins/Clist_modern/src/modern_skinengine.h index 70b7a9b838..710b8d2789 100644 --- a/plugins/Clist_modern/src/modern_skinengine.h +++ b/plugins/Clist_modern/src/modern_skinengine.h @@ -70,17 +70,17 @@ public: enum { IT_UNKNOWN, IT_FILE, IT_RESOURCE };
- typedef HRESULT(*ParserCallback_t)(const char * szSection, const char * szKey, const char * szValue, IniParser * This);
+ typedef HRESULT(*ParserCallback_t)(const char *szSection, const char *szKey, const char *szValue, IniParser *This);
- IniParser(TCHAR * szFileName, BYTE flags = FLAG_WITH_SETTINGS);
+ IniParser(TCHAR *szFileName, BYTE flags = FLAG_WITH_SETTINGS);
IniParser(HINSTANCE hInst, const char *resourceName, const char *resourceType, BYTE flags = FLAG_ONLY_OBJECTS);
~IniParser();
bool CheckOK() { return _isValid; }
HRESULT Parse(ParserCallback_t pLineCallBackProc, LPARAM lParam);
- static HRESULT WriteStrToDb(const char * szSection, const char * szKey, const char * szValue, IniParser * This);
- static int GetSkinFolder(IN const TCHAR * szFileName, OUT TCHAR * pszFolderName);
+ static HRESULT WriteStrToDb(const char *szSection, const char *szKey, const char *szValue, IniParser *This);
+ static int GetSkinFolder(IN const TCHAR *szFileName, OUT TCHAR *pszFolderName);
private:
// common
@@ -93,24 +93,22 @@ private: int _nLine;
void _DoInit();
- BOOL _DoParseLine(char * szLine);
+ BOOL _DoParseLine(char *szLine);
// Processing File
HRESULT _DoParseFile();
- FILE * _hFile;
+ FILE* _hFile;
// Processing resource
- void _LoadResourceIni(HINSTANCE hInst, const char * resourceName, const char * resourceType);
+ void _LoadResourceIni(HINSTANCE hInst, const char *resourceName, const char *resourceType);
HRESULT _DoParseResource();
- const char * _RemoveTailings(const char * szLine, size_t& len);
+ const char* _RemoveTailings(const char *szLine, size_t &len);
HGLOBAL _hGlobalRes;
DWORD _dwSizeOfRes;
- char * _pPosition;
+ char* _pPosition;
BYTE _Flags;
-
-
};
|