terminalsecurity/SCP/SCPServer/inc/SCPSession.h
branchRCL_3
changeset 61 b183ec05bd8c
parent 0 b497e44ab2fc
child 62 19bba8228ff0
equal deleted inserted replaced
59:13d7c31c74e0 61:b183ec05bd8c
    24 #include <etelmm.h>
    24 #include <etelmm.h>
    25 #include <rmmcustomapi.h>
    25 #include <rmmcustomapi.h>
    26 
    26 
    27 #include "SCPServerInterface.h"
    27 #include "SCPServerInterface.h"
    28 #include "SCPTimer.h"
    28 #include "SCPTimer.h"
    29 
    29 #include <SCPParamObject.h>
    30 #include <TerminalControl3rdPartyParamsPlugin.h>
    30 #include <TerminalControl3rdPartyParamsPlugin.h>
    31 // FORWARD DECLARATIONS
    31 // FORWARD DECLARATIONS
    32 class CSCPServer;
    32 class CSCPServer;
    33 class CSCPLockNotificationEventHandler;
    33 class CSCPLockNotificationEventHandler;
    34 class CSCPLockSettingEventHandler;
    34 class CSCPLockSettingEventHandler;
   239         * Handles cleanup (on application uninstallation)
   239         * Handles cleanup (on application uninstallation)
   240         * @param aMessage The message received from the client
   240         * @param aMessage The message received from the client
   241         * @return KErrNone if successful, error status otherwise
   241         * @return KErrNone if successful, error status otherwise
   242         */         
   242         */         
   243         TInt HandleCleanupL( const RMessage2 &aMessage );
   243         TInt HandleCleanupL( const RMessage2 &aMessage );
       
   244         
       
   245         /**
       
   246         * Handles get on policies
       
   247         * @param aMessage The message received from the client
       
   248         * @return KErrNone if successful, error status otherwise
       
   249         */         
       
   250         void HandleGetPoliciesL( const RMessage2 &aMessage );
       
   251 		
   244         TInt HandleSetALPeriodL( const RMessage2 &aMessage );
   252         TInt HandleSetALPeriodL( const RMessage2 &aMessage );
   245 //#endif // __SAP_DEVICE_LOCK_ENHANCEMENTS               
   253 //#endif // __SAP_DEVICE_LOCK_ENHANCEMENTS               
   246         
   254         
   247         /**
   255         /**
   248         * Distributes the messages to the current handler function
   256         * Distributes the messages to the current handler function
   277         *           
   285         *           
   278         * @return none
   286         * @return none
   279         */
   287         */
   280         void NotifyChangeL( TInt aParamID, const TDesC8 aParamVal, TUint32 aCallerID );        
   288         void NotifyChangeL( TInt aParamID, const TDesC8 aParamVal, TUint32 aCallerID );        
   281 
   289 
       
   290         void ReadFailedPoliciestoMsgBufferL(CSCPParamObject*& aParamObject,const RMessage2 &aMessage,TInt aSlotNumber );
       
   291 		
       
   292         void ValidateLockcodeAgainstPoliciesL(const RMessage2 &aMessage);
   282     private:   // Data
   293     private:   // Data
   283        // Possible states for iLockCommandState
   294        // Possible states for iLockCommandState
   284        enum TSCPLockCmdState
   295        enum TSCPLockCmdState
   285             {
   296             {
   286             ESCPLockCmdStateIdle,
   297             ESCPLockCmdStateIdle,