summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_list.h')
-rw-r--r--protocols/JabberG/src/jabber_list.h18
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