diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-20 08:44:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-20 08:44:43 +0000 |
commit | 0b39e2b4ed0b578040a1eb584d045c6202885f7d (patch) | |
tree | c55cb409108c846c3c922699d17496eef6792554 /protocols/JabberG/src/jabber_list.h | |
parent | af5c37f6ef2b6b9b187226f1fbd5c01dca9b6586 (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5424 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_list.h')
-rw-r--r-- | protocols/JabberG/src/jabber_list.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/protocols/JabberG/src/jabber_list.h b/protocols/JabberG/src/jabber_list.h index e79da7d995..c2c7ad151e 100644 --- a/protocols/JabberG/src/jabber_list.h +++ b/protocols/JabberG/src/jabber_list.h @@ -68,26 +68,12 @@ typedef enum { // initial default to RSMODE_LASTSEEN } JABBER_RESOURCE_MODE;
-struct JABBER_XEP0232_SOFTWARE_INFO
+struct JABBER_XEP0232_SOFTWARE_INFO : public MZeroedObject
{
- TCHAR* szOs;
- TCHAR* szOsVersion;
- TCHAR* szSoftware;
- TCHAR* szSoftwareVersion;
- TCHAR* szXMirandaCoreVersion;
+ ptrT tszOs, tszOsVersion, tszSoftware, tszSoftwareVersion, tszXMirandaCoreVersion;
BOOL bXMirandaIsUnicode;
BOOL bXMirandaIsAlpha;
BOOL bXMirandaIsDebug;
- JABBER_XEP0232_SOFTWARE_INFO() {
- ZeroMemory(this, sizeof(JABBER_XEP0232_SOFTWARE_INFO));
- }
- ~JABBER_XEP0232_SOFTWARE_INFO() {
- mir_free(szOs);
- mir_free(szOsVersion);
- mir_free(szSoftware);
- mir_free(szSoftwareVersion);
- mir_free(szXMirandaCoreVersion);
- }
};
struct JABBER_RESOURCE_STATUS
|