99
|
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 AFTHUMBNAILTASK_H
|
|
18 |
#define AFTHUMBNAILTASK_H
|
|
19 |
|
|
20 |
#ifndef __E32SVR_H__
|
|
21 |
#define __E32SVR_H__
|
|
22 |
#endif
|
|
23 |
|
|
24 |
#include <e32std.h>
|
|
25 |
#include <e32base.h>
|
|
26 |
#include <f32file.h>
|
|
27 |
|
|
28 |
#include "aftask.h"
|
|
29 |
#include "aftaskstorage.h"
|
|
30 |
|
|
31 |
class CFbsBitmap;
|
|
32 |
|
119
|
33 |
class CAfThumbnailTask : public CAfTask
|
99
|
34 |
{
|
|
35 |
public:
|
|
36 |
~CAfThumbnailTask();
|
|
37 |
|
|
38 |
static void ExecuteLD(MAfTaskStorage& taskStorage,
|
|
39 |
const RMessage2& message);
|
|
40 |
|
|
41 |
private:
|
|
42 |
CAfThumbnailTask(MAfTaskStorage& storage, const RMessage2 msg);
|
|
43 |
|
|
44 |
void ConstructL();
|
|
45 |
|
|
46 |
const TDesC8& Data()const;
|
|
47 |
|
119
|
48 |
void BroadcastReceivedL(const RMessage2&, TBool applicationUninstalled = EFalse);
|
99
|
49 |
|
|
50 |
TBool IsSessionTask(const CSession2* session);
|
|
51 |
|
|
52 |
private:
|
|
53 |
MAfTaskStorage& mStorage;
|
|
54 |
const RMessage2 mMsg;
|
119
|
55 |
CFbsBitmap* mBitmap;
|
99
|
56 |
};
|
|
57 |
|
|
58 |
#endif // AFTHUMBNAILTASK_H
|