119
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
#ifndef AFACTIVITYLAUNCHERPRIVATE_H
|
|
18 |
#define AFACTIVITYLAUNCHERPRIVATE_H
|
|
19 |
|
|
20 |
#include <e32base.h>
|
|
21 |
|
|
22 |
#include <afasyncrequestobserver.h>
|
|
23 |
#include "afapplicationlauncher.h"
|
|
24 |
|
|
25 |
class CAfStorageClient;
|
|
26 |
|
|
27 |
class CAfActivityLauncherPrivate : public CBase, public MAfAsyncRequestObserver
|
|
28 |
{
|
|
29 |
|
|
30 |
public:
|
|
31 |
static CAfActivityLauncherPrivate *NewL(RApaLsSession &apaLsSession, RWsSession &wsSession);
|
|
32 |
~CAfActivityLauncherPrivate();
|
|
33 |
|
|
34 |
private:
|
|
35 |
CAfActivityLauncherPrivate(RApaLsSession &apaLsSession, RWsSession &wsSession);
|
|
36 |
void ConstructL();
|
|
37 |
|
|
38 |
public: // from MAfAsyncRequestObserver
|
|
39 |
virtual void waitActivityRequestCompleted(int result, const TDesC8 &data);
|
|
40 |
virtual void getThumbnailRequestCompleted(int result, int bitmapHandle, void *userData);
|
|
41 |
virtual void dataChangeNotificationCompleted(int result);
|
|
42 |
|
|
43 |
public:
|
|
44 |
void launchActivityL(const TDesC &uriDesc);
|
|
45 |
|
|
46 |
private:
|
|
47 |
CAfStorageClient *mActivitiesClient;
|
|
48 |
TAfApplicationLauncher mApplicationLauncher;
|
|
49 |
|
|
50 |
};
|
|
51 |
|
|
52 |
#endif // AFACTIVITYLAUNCHERPRIVATE_H
|