|
1 /* |
|
2 * Copyright (c) 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: Unieditor operation. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_CMSUNIEDITOROPERATION_H |
|
20 #define C_CMSUNIEDITOROPERATION_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 #include "cmsoperationhandlerbase.h" |
|
25 #include "cmscontactfield.h" |
|
26 |
|
27 /** |
|
28 * CCMSUniEditorOperation |
|
29 * Unieditor operation. |
|
30 * |
|
31 * @code |
|
32 * |
|
33 * @endcode |
|
34 * |
|
35 * @since S60 v5.0 |
|
36 */ |
|
37 class CCMSUniEditorOperation : public CCMSOperationHandlerBase |
|
38 { |
|
39 |
|
40 public: |
|
41 |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 */ |
|
45 static CCMSUniEditorOperation* NewL( |
|
46 const RArray<CCmsContactFieldItem::TCmsContactField>& aContactFieldTypesFilter, |
|
47 const RPointerArray<CCmsContactField>& aItemArray, |
|
48 const TCmsContactor::TCMSCommLaunchFlag aCommLaunchFlag ); |
|
49 |
|
50 public: |
|
51 |
|
52 // from base class CCMSOperationHandlerBase |
|
53 |
|
54 /** |
|
55 * Operation for starting executing the operation. |
|
56 * |
|
57 * @since S60 v5.0 |
|
58 */ |
|
59 void ExecuteLD(); |
|
60 |
|
61 private: |
|
62 |
|
63 // from base class CCMSOperationHandlerBase |
|
64 |
|
65 /** |
|
66 * Initiaties operation. |
|
67 * |
|
68 * @since S60 v5.0 |
|
69 * @param aContactFieldItem: Selected field item to complete operation. |
|
70 */ |
|
71 void StartOperationL( const CCmsContactFieldItem& aContactFieldItem); |
|
72 |
|
73 private: |
|
74 |
|
75 void ConstructL(); |
|
76 |
|
77 CCMSUniEditorOperation( |
|
78 const RArray<CCmsContactFieldItem::TCmsContactField>& aContactFieldTypesFilter, |
|
79 const RPointerArray<CCmsContactField>& aItemArray, |
|
80 const TCmsContactor::TCMSCommLaunchFlag aCommLaunchFlag ); |
|
81 |
|
82 }; |
|
83 |
|
84 #endif // C_CMSUNIEDITOROPERATION_H |
|
85 |
|
86 // End of File |