diff -r e78d6e055a5b -r b34d53f6acdf activityfw/storage/client/inc/afstorageclient_p.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/activityfw/storage/client/inc/afstorageclient_p.h Fri Aug 06 13:40:46 2010 +0300 @@ -0,0 +1,60 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + +#ifndef AFSTORAGECLIENTPRIVATE_H +#define AFSTORAGECLIENTPRIVATE_H + +#include +#include "afstorageglobals.h" +#include "afstorageclientimp.h" + +class CAfStorageClientPrivate : public CBase +{ + +public: + static CAfStorageClientPrivate *NewL(MAfAsyncRequestObserver &observer); + static CAfStorageClientPrivate *NewLC(MAfAsyncRequestObserver &observer); + virtual ~CAfStorageClientPrivate(); + +private: + CAfStorageClientPrivate(MAfAsyncRequestObserver &observer); + void ConstructL(); + +public: + int connect(); + int addActivity(const CAfEntry &sourceEntry, TInt imageHandle); + int updateActivity(const CAfEntry &sourceEntry, TInt imageHandle); + int saveActivity(const CAfEntry &entry, TInt imageHandle); + int removeActivity(const CAfEntry &templateEntry); + int removeApplicationActivities(const CAfEntry &templateEntry); + int activities(RPointerArray &dst); + int applicationActivities(RPointerArray &dst, const CAfEntry &entry); + int activityData(CAfEntry *&resultEntry, const CAfEntry &templateEntry); + int waitActivity(); + int getThumbnail(const TSize &size, const TDesC &imagePath, void *userData); + int notifyDataChange(); + int launchActivity(const CAfEntry &templateEntry); + +private: + int execute(int function, const CAfEntry &sourceEntry, TInt imageHandle); + int execute(int function, RPointerArray &resultsList,const CAfEntry &templateEntry); + +private: + RAfStorageClientImplementation mImplementation; +}; + +#endif // AFSTORAGECLIENTPRIVATE_H