1 /* |
|
2 * Copyright (c) 2008 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: IM Settings command object |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CVIMPSTCMDCALL_H |
|
20 #define CVIMPSTCMDCALL_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include "mvimpstcmd.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 class MVIMPSTProcessArray; |
|
29 |
|
30 /** |
|
31 * IM Settings command object. |
|
32 */ |
|
33 NONSHARABLE_CLASS(CVIMPSTCmdCall) : public CBase, |
|
34 public MVIMPSTCmd |
|
35 { |
|
36 public: // Construction and destruction |
|
37 |
|
38 /** |
|
39 * Creates a new instance of this class. |
|
40 * |
|
41 * @param aCommandId Command id. |
|
42 * @return A new instance of this class. |
|
43 */ |
|
44 static CVIMPSTCmdCall* NewL( |
|
45 const TInt aCommandId, TInt& aIndex, |
|
46 MVIMPSTProcessArray& mArrayProcess, |
|
47 TInt aWindowGroup, |
|
48 TUint32 aServiceId); |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 ~CVIMPSTCmdCall(); |
|
53 |
|
54 public: // From MImCommand |
|
55 /** |
|
56 * see mvimpstcmd |
|
57 */ |
|
58 void ExecuteLD(); |
|
59 |
|
60 /** |
|
61 * see mvimpstcmd |
|
62 */ |
|
63 void AddObserver( |
|
64 MVIMPSTCmdObserver& aObserver ); |
|
65 |
|
66 /** |
|
67 * see mvimpstcmd |
|
68 */ |
|
69 TInt CommandId() const; |
|
70 /** |
|
71 * see mvimpstcmd |
|
72 */ |
|
73 TInt Result() const; |
|
74 |
|
75 |
|
76 |
|
77 private: // Implementation |
|
78 |
|
79 /** |
|
80 * symbian default constructor |
|
81 */ |
|
82 CVIMPSTCmdCall(const TInt aCommandId, TInt& aIndex, |
|
83 MVIMPSTProcessArray& mArrayProcess, |
|
84 TInt aWindowGroup, |
|
85 TUint32 aServiceId); |
|
86 /** |
|
87 * symbian second phase constructor |
|
88 */ |
|
89 void ConstructL(); |
|
90 |
|
91 |
|
92 private: // Data |
|
93 |
|
94 //Command id |
|
95 const TInt iCommandId; |
|
96 |
|
97 //Doesnt own |
|
98 MVIMPSTCmdObserver* iObserver; |
|
99 |
|
100 //Index of the list item chosen |
|
101 TInt& iIndex; |
|
102 |
|
103 //Doesnt own |
|
104 MVIMPSTProcessArray& iArrayProcess; |
|
105 |
|
106 //window group |
|
107 TInt iWindowGroup; |
|
108 |
|
109 //Service Id |
|
110 TUint32 iServiceId; |
|
111 |
|
112 |
|
113 }; |
|
114 |
|
115 #endif // CVIMPSTCMDCALL_H |
|
116 |
|
117 // End of File |
|