--- a/terminalsecurity/SCP/SCPTimestampPlugin/inc/SCPTimestampPlugin.h Tue Aug 31 16:04:06 2010 +0300
+++ b/terminalsecurity/SCP/SCPTimestampPlugin/inc/SCPTimestampPlugin.h Wed Sep 01 12:27:42 2010 +0100
@@ -26,7 +26,7 @@
#include <barsc.h>
#include <TerminalControl3rdPartyAPI.h>
-
+#include "SCPUserInf.h"
// LOCAL CONSTANTS
const TInt KSCPMaxExpiration = 365;
@@ -51,6 +51,8 @@
const TInt KSCPTypeHours = 1;
const TInt KSCPTypeDays = 2;
+const TInt KSCPNoteTimeout = 2000000;
+
_LIT( KSCPTSConfigFile, "SCPTimestampPlugin.ini");
_LIT( KDriveZ, "Z:" );
_LIT(KSCPTimestampPluginResFilename, "\\Resource\\SCPTimestampPluginLang.rsc");
@@ -86,7 +88,7 @@
/**
* Event handler
*/
- void HandleEventL( TInt aID, CSCPParamObject& aParam, CSCPParamObject& aOutParam );
+ CSCPParamObject* HandleEvent( TInt aID, CSCPParamObject& aParam );
void SetEventHandler( MSCPPluginEventHandler* aHandler );
@@ -107,25 +109,25 @@
/**
* Checks if the minimum timeout has expired since the last change
*/
- void IsChangeAllowedL( CSCPParamObject& aParam, CSCPParamObject& aRetParams );
+ void IsChangeAllowedL( CSCPParamObject& aParam, CSCPParamObject*& aRetParams );
/**
* Updates the status when the password is changed
*/
- void PasswordChanged( CSCPParamObject& aParam, CSCPParamObject& aRetParams );
+ void PasswordChanged( CSCPParamObject& aParam, CSCPParamObject*& aRetParams );
/**
* Updates the status when after an authentication attempt
*/
void AuthenticationAttempt( TBool aIsSuccessful,
CSCPParamObject& aParam,
- CSCPParamObject& aRetParams );
+ CSCPParamObject*& aRetParams );
/**
* Updates the status after successful authentication
*/
void SuccessfulAuthenticationL( CSCPParamObject& aParam,
- CSCPParamObject& aRetParams );
+ CSCPParamObject*& aRetParams );
/**
@@ -139,12 +141,12 @@
*/
void ConfigurationQuery( TInt aParamID,
CSCPParamObject& aParam,
- CSCPParamObject& aRetParams );
+ CSCPParamObject*& aRetParams );
/**
* Initiates RFS Deep (device wipe)
*/
- void WipeDeviceL( CSCPParamObject& aRetParams );
+ void WipeDeviceL( CSCPParamObject*& aRetParams );
/**
* Read the configuration from flash.
@@ -194,6 +196,7 @@
/* Resource-file indicator */
TBool iResOpen;
+ CSCPUserInf *iUserInfo;
};
#endif // __CSCPPTIMESTAMPPLUGIN_H