summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_list.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-02 22:24:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-02 22:24:11 +0000
commitfe09f8b1b3e119ee88332a79bdfb143b907c2805 (patch)
treeef4c19d6156da0fa58c6427d24b6c0cb10f77ad8 /protocols/JabberG/src/jabber_list.h
parentc55fd3e3c7312d6a76bc8037df78c07cc269935f (diff)
static array of resources replaced with LIST<>
git-svn-id: http://svn.miranda-ng.org/main/trunk@5559 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_list.h')
-rw-r--r--protocols/JabberG/src/jabber_list.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_list.h b/protocols/JabberG/src/jabber_list.h
index 2f8f5c4edb..9df9b7b710 100644
--- a/protocols/JabberG/src/jabber_list.h
+++ b/protocols/JabberG/src/jabber_list.h
@@ -105,6 +105,9 @@ struct JABBER_RESOURCE_STATUS
struct JABBER_LIST_ITEM : public MZeroedObject
{
+ JABBER_LIST_ITEM();
+ ~JABBER_LIST_ITEM();
+
JABBER_LIST list;
TCHAR* jid;
@@ -115,9 +118,8 @@ struct JABBER_LIST_ITEM : public MZeroedObject
JABBER_RESOURCE_STATUS* findResource(const TCHAR *resourceName) const;
JABBER_RESOURCE_STATUS* getBestResource() const;
JABBER_RESOURCE_MODE resourceMode;
- int resourceCount;
+ LIST<JABBER_RESOURCE_STATUS> arResources; // array of resources
JABBER_RESOURCE_STATUS
- *pResources, // array of resources
*pLastSeenResource, // resource which was last seen active
*pManualResource, // manually set resource
itemResource; // resource for jids without /resource node