equal
deleted
inserted
replaced
|
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 MR task factory |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MESMRTASKFACTORY_H |
|
20 #define MESMRTASKFACTORY_H |
|
21 |
|
22 //<cmail> |
|
23 #include "esmrdef.h" |
|
24 //</cmail> |
|
25 |
|
26 class MESMRTask; |
|
27 class MESMRCalEntry; |
|
28 |
|
29 /** |
|
30 * MESMRTaskFactory defines interface for creating ES MR tasks. |
|
31 * |
|
32 * @code |
|
33 * MESMRTaskFactory* factory = ... |
|
34 * @endcode |
|
35 * |
|
36 * @lib esmrtasks.lib |
|
37 */ |
|
38 class MESMRTaskFactory |
|
39 { |
|
40 public: |
|
41 /** |
|
42 * Virtual C++ destructor. |
|
43 */ |
|
44 virtual ~MESMRTaskFactory() { } |
|
45 |
|
46 /** |
|
47 * Creates ES MR task. Ownership is transferred to |
|
48 * caller. |
|
49 * @param aCommand Command id |
|
50 * @param aEntry Reference to entry being handled. |
|
51 * @return Pointer to created task object. |
|
52 */ |
|
53 virtual MESMRTask* CreateTaskL( |
|
54 TESMRCommand aCommand, |
|
55 MESMRCalEntry& aEntry ) = 0; |
|
56 }; |
|
57 |
|
58 #endif // MESMRTASKFACTORY_H |