|
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: Interface definition for ESMR send mr response via mail task |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_ESMRDELETEMRDROMDBTASK_H |
|
20 #define C_ESMRDELETEMRDROMDBTASK_H |
|
21 |
|
22 #include "cesmrtaskbase.h" |
|
23 |
|
24 /** |
|
25 * CESMRDeleteMRFromDbTask is responsibe for deleting MR from calendar DB. |
|
26 * |
|
27 * @lib esmrtasks.lib |
|
28 */ |
|
29 NONSHARABLE_CLASS( CESMRDeleteMRFromDbTask ) : public CESMRTaskBase |
|
30 { |
|
31 public: |
|
32 /** |
|
33 * Creates and initializes new CESMRDeleteMRFromDbTask object. |
|
34 * Ownership is transferred to caller. |
|
35 * @param aCalDbMgr Reference to cal db manager. |
|
36 * @param aEntry Reference to ES MR calendar entry. |
|
37 * @param aMRMailboxUtils Reference mr mailbox utilities. |
|
38 */ |
|
39 static CESMRDeleteMRFromDbTask* NewL( |
|
40 MESMRCalDbMgr& aCalDbMgr, |
|
41 MESMRMeetingRequestEntry& aEntry, |
|
42 CMRMailboxUtils& aMRMailboxUtils ); |
|
43 |
|
44 /** |
|
45 * C++ destructor. |
|
46 */ |
|
47 ~CESMRDeleteMRFromDbTask(); |
|
48 |
|
49 public: // From MESMRTask |
|
50 void ExecuteTaskL(); |
|
51 |
|
52 private: |
|
53 CESMRDeleteMRFromDbTask( |
|
54 MESMRCalDbMgr& aCalDbMgr, |
|
55 MESMRMeetingRequestEntry& aEntry, |
|
56 CMRMailboxUtils& aMRMailboxUtils ); |
|
57 |
|
58 void ConstructL(); |
|
59 |
|
60 void DeleteEntryFromDbL(); |
|
61 }; |
|
62 |
|
63 #endif // C_ESMRDELETEMRDROMDBTASK_H |