|
1 /* |
|
2 * Copyright (c) 2005-2007 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 * Remove thumbnail command event handling class. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CPBK2REMOVETHUMBNAILCMD_H |
|
21 #define CPBK2REMOVETHUMBNAILCMD_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "CPbk2ThumbnailCmdBase.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Thumbnail command event handling class. |
|
32 */ |
|
33 NONSHARABLE_CLASS(CPbk2RemoveThumbnailCmd) : |
|
34 public CPbk2ThumbnailCmdBase |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 /** |
|
38 * Creates a new instance of this class. |
|
39 * @param aUiControl A related ui control |
|
40 * @return a new instance of this class. |
|
41 */ |
|
42 static CPbk2RemoveThumbnailCmd* NewL |
|
43 (MPbk2ContactUiControl& aUiControl); |
|
44 |
|
45 /** |
|
46 * Destructor. |
|
47 */ |
|
48 ~CPbk2RemoveThumbnailCmd(); |
|
49 |
|
50 private: |
|
51 TBool ExecuteCommandL(); |
|
52 |
|
53 private: // Implementation |
|
54 CPbk2RemoveThumbnailCmd |
|
55 (MPbk2ContactUiControl& aUiControl); |
|
56 void ConstructL(); |
|
57 |
|
58 private: // Data |
|
59 }; |
|
60 |
|
61 #endif // CPBK2REMOVETHUMBNAILCMD_H |
|
62 |
|
63 // End of File |