|
1 /* |
|
2 * Copyright (c) 2007-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: ESMRIcalViewer async command base class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CESMRICALVIEWERASYNCCOMMAND_H |
|
20 #define CESMRICALVIEWERASYNCCOMMAND_H |
|
21 |
|
22 #include "cesmricalviewercommandbase.h" |
|
23 #include "mesmricalviewerasynccommand.h" |
|
24 |
|
25 class CAsyncCallBack; |
|
26 |
|
27 /** |
|
28 * CESMRIcalViewerAsyncCommand is base class for concrete |
|
29 * asynchronous esmricalviewer commands. |
|
30 */ |
|
31 NONSHARABLE_CLASS( CESMRIcalViewerAsyncCommand ) : |
|
32 public CESMRIcalViewerCommandBase, |
|
33 public MESMRIcalViewerAsyncCommand |
|
34 { |
|
35 public: |
|
36 /** |
|
37 * C++ destructor |
|
38 */ |
|
39 virtual ~CESMRIcalViewerAsyncCommand(); |
|
40 |
|
41 public: // From MESMRIcalViewerCommand |
|
42 void ExecuteCommandL( |
|
43 CFSMailMessage& aMessage, |
|
44 MESMRIcalViewerObserver& aObserver ); |
|
45 void CancelCommand(); |
|
46 |
|
47 protected: // Implementation |
|
48 CESMRIcalViewerAsyncCommand( |
|
49 TESMRIcalViewerOperationType aType, |
|
50 CCalSession& aCalSession ); |
|
51 void BaseConstructL(); |
|
52 |
|
53 private: // data |
|
54 /// Own. Asynchronous invoker. |
|
55 CAsyncCallBack* iAsyncInvoker; |
|
56 }; |
|
57 |
|
58 #endif |
|
59 |
|
60 // EOF |