84 virtual ~CSCPTimestampPlugin(); |
84 virtual ~CSCPTimestampPlugin(); |
85 |
85 |
86 /** |
86 /** |
87 * Event handler |
87 * Event handler |
88 */ |
88 */ |
89 CSCPParamObject* HandleEvent( TInt aID, CSCPParamObject& aParam ); |
89 void HandleEventL( TInt aID, CSCPParamObject& aParam, CSCPParamObject& aOutParam ); |
90 |
90 |
91 void SetEventHandler( MSCPPluginEventHandler* aHandler ); |
91 void SetEventHandler( MSCPPluginEventHandler* aHandler ); |
92 |
92 |
93 private: // Constructors, Destructor |
93 private: // Constructors, Destructor |
94 /** |
94 /** |
105 private : // Methods |
105 private : // Methods |
106 |
106 |
107 /** |
107 /** |
108 * Checks if the minimum timeout has expired since the last change |
108 * Checks if the minimum timeout has expired since the last change |
109 */ |
109 */ |
110 void IsChangeAllowedL( CSCPParamObject& aParam, CSCPParamObject*& aRetParams ); |
110 void IsChangeAllowedL( CSCPParamObject& aParam, CSCPParamObject& aRetParams ); |
111 |
111 |
112 /** |
112 /** |
113 * Updates the status when the password is changed |
113 * Updates the status when the password is changed |
114 */ |
114 */ |
115 void PasswordChanged( CSCPParamObject& aParam, CSCPParamObject*& aRetParams ); |
115 void PasswordChanged( CSCPParamObject& aParam, CSCPParamObject& aRetParams ); |
116 |
116 |
117 /** |
117 /** |
118 * Updates the status when after an authentication attempt |
118 * Updates the status when after an authentication attempt |
119 */ |
119 */ |
120 void AuthenticationAttempt( TBool aIsSuccessful, |
120 void AuthenticationAttempt( TBool aIsSuccessful, |
121 CSCPParamObject& aParam, |
121 CSCPParamObject& aParam, |
122 CSCPParamObject*& aRetParams ); |
122 CSCPParamObject& aRetParams ); |
123 |
123 |
124 /** |
124 /** |
125 * Updates the status after successful authentication |
125 * Updates the status after successful authentication |
126 */ |
126 */ |
127 void SuccessfulAuthenticationL( CSCPParamObject& aParam, |
127 void SuccessfulAuthenticationL( CSCPParamObject& aParam, |
128 CSCPParamObject*& aRetParams ); |
128 CSCPParamObject& aRetParams ); |
129 |
129 |
130 |
130 |
131 /** |
131 /** |
132 * Checks if the given time interval is after the saved time (aConfID) |
132 * Checks if the given time interval is after the saved time (aConfID) |
133 */ |
133 */ |
137 /** |
137 /** |
138 * Handles the Configuration Query event |
138 * Handles the Configuration Query event |
139 */ |
139 */ |
140 void ConfigurationQuery( TInt aParamID, |
140 void ConfigurationQuery( TInt aParamID, |
141 CSCPParamObject& aParam, |
141 CSCPParamObject& aParam, |
142 CSCPParamObject*& aRetParams ); |
142 CSCPParamObject& aRetParams ); |
143 |
143 |
144 /** |
144 /** |
145 * Initiates RFS Deep (device wipe) |
145 * Initiates RFS Deep (device wipe) |
146 */ |
146 */ |
147 void WipeDeviceL( CSCPParamObject*& aRetParams ); |
147 void WipeDeviceL( CSCPParamObject& aRetParams ); |
148 |
148 |
149 /** |
149 /** |
150 * Read the configuration from flash. |
150 * Read the configuration from flash. |
151 */ |
151 */ |
152 TInt ReadConfiguration(); |
152 TInt ReadConfiguration(); |