From fe09f8b1b3e119ee88332a79bdfb143b907c2805 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 Aug 2013 22:24:11 +0000 Subject: static array of resources replaced with LIST<> git-svn-id: http://svn.miranda-ng.org/main/trunk@5559 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_list.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src/jabber_list.h') 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 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 -- cgit v1.2.3