diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-20 19:31:57 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-20 19:31:57 +0000 |
commit | 14877a748010cf73448cc6892792120e4b191439 (patch) | |
tree | 0f433ab5b6daaed39e42265227c35dc951558d8b /protocols/JabberG/src/jabber_list.h | |
parent | 6a7f572f84f3f23b55ab0f42c1203035463c38d8 (diff) |
Jabber:
- JABBER_RESOURCE_STATUS became a class;
- static item JABBER_LIST_ITEM::itemResource converted into a dynamically allocated structure for resourceless items only;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6144 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_list.h')
-rw-r--r-- | protocols/JabberG/src/jabber_list.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_list.h b/protocols/JabberG/src/jabber_list.h index 9df9b7b710..16f1c8aad3 100644 --- a/protocols/JabberG/src/jabber_list.h +++ b/protocols/JabberG/src/jabber_list.h @@ -73,8 +73,10 @@ struct JABBER_XEP0232_SOFTWARE_INFO : public MZeroedObject ptrT tszOs, tszOsVersion, tszSoftware, tszSoftwareVersion, tszXMirandaCoreVersion;
};
-struct JABBER_RESOURCE_STATUS
+struct JABBER_RESOURCE_STATUS : public MZeroedObject
{
+ ~JABBER_RESOURCE_STATUS();
+
int status;
TCHAR* resourceName;
TCHAR* nick;
@@ -122,7 +124,7 @@ struct JABBER_LIST_ITEM : public MZeroedObject JABBER_RESOURCE_STATUS
*pLastSeenResource, // resource which was last seen active
*pManualResource, // manually set resource
- itemResource; // resource for jids without /resource node
+ *m_pItemResource; // resource for jids without /resource node
JABBER_SUBSCRIPTION subscription;
TCHAR* group;
|