diff -r 13d7c31c74e0 -r b183ec05bd8c terminalsecurity/SCP/SCPServer/inc/SCPConfiguration.h --- a/terminalsecurity/SCP/SCPServer/inc/SCPConfiguration.h Thu Aug 19 10:44:50 2010 +0300 +++ b/terminalsecurity/SCP/SCPServer/inc/SCPConfiguration.h Tue Aug 31 16:04:06 2010 +0300 @@ -29,8 +29,9 @@ enum TSCPParamType { EParTypeInt = 0, - EParTypeDesc - }; + EParTypeDesc, + EParTypeBool + }; // LOCAL CONSTANTS @@ -56,10 +57,11 @@ const TInt KParamIDBlockedInOOS = 7; // ID number for the encrypted security code. const TInt KParamIDCryptoCode = 8; - +//ID number for the boolean for the configuartion check +const TInt KParamIDConfigChecked = 9; // Total number of Param IDs -const TInt KTotalParamIDs = 8; +const TInt KTotalParamIDs = 9; //#ifdef __SAP_DEVICE_LOCK_ENHANCEMENTS #define SCP_PARAMETERS_WithFlag { &iConfigFlag, \ @@ -69,8 +71,9 @@ &iFailedAttempts, \ &iBlockedAtTime, \ &iBlockedInOOS, \ - &iCryptoCode \ - }; + &iCryptoCode, \ + &iConfigChecked \ + }; #define SCP_PARAMIDS_WithFlag { KParamIDConfigFlag, \ KParamIDMaxTimeout, \ @@ -79,8 +82,9 @@ KParamIDFailedAttempts, \ KParamIDBlockedAtTime, \ KParamIDBlockedInOOS, \ - KParamIDCryptoCode \ - }; + KParamIDCryptoCode, \ + KParamIDConfigChecked \ + }; #define SCP_PARAMTYPES_WithFlag { EParTypeInt, \ EParTypeInt, \ @@ -89,8 +93,9 @@ EParTypeInt, \ EParTypeDesc, \ EParTypeInt, \ - EParTypeDesc\ - }; + EParTypeDesc, \ + EParTypeBool \ + }; //#else // !__SAP_DEVICE_LOCK_ENHANCEMENTS @@ -184,7 +189,10 @@ /** The name of the main configuration file */ TFileName iConfigFileName; TInt iBlockedInOOS; - + + //Flag to check whether Configuration checked already + TBool iConfigChecked; + /** A ptr to a connected RFs, not owned */ RFs* iFsSession;