|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Declaration of CPhoneHandlerLastNumberRedial class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CPHONEHANDLERLASTNUMBERREDIAL_H |
|
21 #define CPHONEHANDLERLASTNUMBERREDIAL_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "PhoneHandlerCallBase.h" |
|
25 #include <RemConExtensionApi.h> |
|
26 #include <f32file.h> |
|
27 #include <logcli.h> |
|
28 #include <logview.h> |
|
29 |
|
30 // CONSTANTS |
|
31 |
|
32 // MACROS |
|
33 |
|
34 // DATA TYPES |
|
35 |
|
36 // FUNCTION PROTOTYPES |
|
37 |
|
38 // FORWARD DECLARATIONS |
|
39 |
|
40 // CLASS DECLARATION |
|
41 class CPhoneHandlerControl; |
|
42 |
|
43 /** |
|
44 * Handles last number redial key press. |
|
45 * |
|
46 * @lib PhoneCmdHandler |
|
47 * @since S60 3.1 |
|
48 */ |
|
49 NONSHARABLE_CLASS( CPhoneHandlerLastNumberRedial ) : public CPhoneHandlerCallBase |
|
50 |
|
51 { |
|
52 public: // Constructors and destructor |
|
53 |
|
54 /** |
|
55 * Two-phased constructor. |
|
56 */ |
|
57 static CPhoneHandlerLastNumberRedial* |
|
58 NewL( CPhoneHandlerControl& aControl, |
|
59 TRemConExtCallHandlingApiOperationId aOperation |
|
60 = ERemConExtLastNumberRedial ); |
|
61 |
|
62 /** |
|
63 * Destructor. |
|
64 */ |
|
65 virtual ~CPhoneHandlerLastNumberRedial(); |
|
66 |
|
67 public: // New functions |
|
68 |
|
69 public: // Functions from base classes |
|
70 |
|
71 /** |
|
72 * From MPhoneHandlerService. Starts processing service. |
|
73 * @since S60 3.1 |
|
74 * @return void |
|
75 */ |
|
76 void Process(); |
|
77 |
|
78 /** |
|
79 * From MPhoneHandlerService. Deletes service. |
|
80 * @since S60 3.1 |
|
81 * @return void |
|
82 */ |
|
83 void Delete(); |
|
84 |
|
85 /** |
|
86 * From MPhoneHandlerObserver. Notifies when asynchronous request has |
|
87 * been completed. |
|
88 * @since S60 3.1 |
|
89 * @param aError request error code |
|
90 * @return void |
|
91 */ |
|
92 void RequestCompleted( const TInt aError ); |
|
93 |
|
94 protected: // New functions |
|
95 |
|
96 protected: // Functions from base classes |
|
97 |
|
98 private: |
|
99 |
|
100 /** |
|
101 * C++ default constructor. |
|
102 */ |
|
103 CPhoneHandlerLastNumberRedial( |
|
104 CPhoneHandlerControl& aControl, |
|
105 TRemConExtCallHandlingApiOperationId aOperation ); |
|
106 |
|
107 /** |
|
108 * By default Symbian 2nd phase constructor is private. |
|
109 */ |
|
110 void ConstructL(); |
|
111 |
|
112 public: // Data |
|
113 |
|
114 protected: // Data |
|
115 |
|
116 private: // Data |
|
117 |
|
118 // A handle to a file server session. |
|
119 RFs iFsSession; |
|
120 |
|
121 // Log Engine implementation |
|
122 CLogClient* iLogClientPtr; // owned |
|
123 |
|
124 // A view on a recent event list. |
|
125 CLogViewRecent* iLogViewRecentPtr; // owned |
|
126 |
|
127 // reference to control |
|
128 CPhoneHandlerControl& iControl; |
|
129 |
|
130 // iOperation is used to give response to exact RemConExtensionApi |
|
131 // command |
|
132 TRemConExtCallHandlingApiOperationId iOperation; |
|
133 |
|
134 public: // Friend classes |
|
135 |
|
136 protected: // Friend classes |
|
137 |
|
138 private: // Friend classes |
|
139 |
|
140 }; |
|
141 |
|
142 |
|
143 #endif // CPHONEHANDLERLASTNUMBERREDIAL_H |
|
144 |
|
145 // End of File |