diff -r 4f2773374eff -r 4b22a598b890 creator/engine/inc/creator_contactsetcache.h --- a/creator/engine/inc/creator_contactsetcache.h Fri May 14 15:53:02 2010 +0300 +++ b/creator/engine/inc/creator_contactsetcache.h Thu May 27 12:52:19 2010 +0300 @@ -22,15 +22,22 @@ #define CREATORCONTACTSETCACHE_H_ #include +#include // Forward declarations class CContactLinkCacheImp; +QTM_USE_NAMESPACE class CCreatorContactSet : public CBase { public: static CCreatorContactSet* NewL(TInt aLinkId, TInt aNumOfExistingContacts); virtual ~CCreatorContactSet(); + void AppendL(QContactLocalId); + TInt NumberOfExistingContacts() const; + RArray ContactLinks(); + const RArray ContactLinks() const; + TInt LinkId() const; private: @@ -38,12 +45,15 @@ //void ConstructL(); TInt iLinkId; TInt iNumOfExistingContacts; + RArray iContactLinks; }; class MContactLinkCache { public: virtual void AppendL(CCreatorContactSet* aContactSet) = 0; + virtual RArray ContactLinks(TInt aLinkId) = 0; + virtual const RArray ContactLinks(TInt aLinkId) const = 0; virtual RPointerArray& ContactSets() = 0; virtual const RPointerArray& ContactSets() const = 0; virtual const CCreatorContactSet& ContactSet(TInt aLinkId) const = 0;