diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-28 14:55:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-28 14:55:49 +0000 |
commit | 056d2be888a4235a109a123b7b2a715aa3ff72ba (patch) | |
tree | b1956081bb951f44ced81414db7656a832613b71 /plugins/UserInfoEx/src/ex_import/classExImContactXML.h | |
parent | 5f03619d3bbda7a617f50ded2698cffc434dd525 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4225 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/ex_import/classExImContactXML.h')
-rw-r--r-- | plugins/UserInfoEx/src/ex_import/classExImContactXML.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/plugins/UserInfoEx/src/ex_import/classExImContactXML.h b/plugins/UserInfoEx/src/ex_import/classExImContactXML.h index 512ab9b08e..b88d1b8097 100644 --- a/plugins/UserInfoEx/src/ex_import/classExImContactXML.h +++ b/plugins/UserInfoEx/src/ex_import/classExImContactXML.h @@ -51,37 +51,37 @@ class CExImContactXML : public CExImContactBase { TiXmlElement* _xmlNode; // xmlnode with contact information
HANDLE _hEvent;
- BOOLEAN IsContactInfo(LPCSTR pszKey);
+ BYTE IsContactInfo(LPCSTR pszKey);
// private importing methods
- INT ImportModule(TiXmlNode* xmlModule);
- INT ImportSetting(LPCSTR pszModule, TiXmlElement *xmlEntry);
- INT ImportEvent(LPCSTR pszModule, TiXmlElement *xmlEvent);
- INT ImportContact();
- INT ImportNormalContact();
- INT ImportMetaSubContact(CExImContactXML * pMetaContact);
- VOID CountKeys(DWORD &numSettings, DWORD &numEvents);
+ int ImportModule(TiXmlNode* xmlModule);
+ int ImportSetting(LPCSTR pszModule, TiXmlElement *xmlEntry);
+ int ImportEvent(LPCSTR pszModule, TiXmlElement *xmlEvent);
+ int ImportContact();
+ int ImportNormalContact();
+ int ImportMetaSubContact(CExImContactXML * pMetaContact);
+ void CountKeys(DWORD &numSettings, DWORD &numEvents);
// private exporting methods
- INT ExportModule(LPCSTR pszModule);
- INT ExportSetting(TiXmlElement *xmlModule, LPCSTR pszModule, LPCSTR pszSetting);
- BOOLEAN ExportEvents();
+ int ExportModule(LPCSTR pszModule);
+ int ExportSetting(TiXmlElement *xmlModule, LPCSTR pszModule, LPCSTR pszSetting);
+ BYTE ExportEvents();
- INT ExportContact(DB::CEnumList* pModules);
- INT ExportSubContact(CExImContactXML *vMetaContact, DB::CEnumList* pModules);
+ int ExportContact(DB::CEnumList* pModules);
+ int ExportSubContact(CExImContactXML *vMetaContact, DB::CEnumList* pModules);
public:
CExImContactXML(CFileXml * pXmlFile);
// exporting stuff
TiXmlElement* CreateXmlElement();
- INT Export(FILE *xmlfile, DB::CEnumList* pModules);
+ int Export(FILE *xmlfile, DB::CEnumList* pModules);
// importing stuff
- INT LoadXmlElemnt(TiXmlElement *xContact);
- INT Import(BOOLEAN keepMetaSubContact = FALSE);
+ int LoadXmlElemnt(TiXmlElement *xContact);
+ int Import(BYTE keepMetaSubContact = FALSE);
- BOOLEAN operator = (TiXmlElement* xmlContact) {
+ BYTE operator = (TiXmlElement* xmlContact) {
return LoadXmlElemnt(xmlContact) == ERROR_OK;
}
};
|