terminalsecurity/SCP/SCPServer/inc/SCPSession.h
branchRCL_3
changeset 62 19bba8228ff0
parent 61 b183ec05bd8c
child 65 5cc2995847ea
equal deleted inserted replaced
61:b183ec05bd8c 62:19bba8228ff0
    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 #include <SCPParamObject.h>
    29 
    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 		
       
   252         TInt HandleSetALPeriodL( const RMessage2 &aMessage );
   244         TInt HandleSetALPeriodL( const RMessage2 &aMessage );
   253 //#endif // __SAP_DEVICE_LOCK_ENHANCEMENTS               
   245 //#endif // __SAP_DEVICE_LOCK_ENHANCEMENTS               
   254         
   246         
   255         /**
   247         /**
   256         * Distributes the messages to the current handler function
   248         * Distributes the messages to the current handler function
   285         *           
   277         *           
   286         * @return none
   278         * @return none
   287         */
   279         */
   288         void NotifyChangeL( TInt aParamID, const TDesC8 aParamVal, TUint32 aCallerID );        
   280         void NotifyChangeL( TInt aParamID, const TDesC8 aParamVal, TUint32 aCallerID );        
   289 
   281 
   290         void ReadFailedPoliciestoMsgBufferL(CSCPParamObject*& aParamObject,const RMessage2 &aMessage,TInt aSlotNumber );
       
   291 		
       
   292         void ValidateLockcodeAgainstPoliciesL(const RMessage2 &aMessage);
       
   293     private:   // Data
   282     private:   // Data
   294        // Possible states for iLockCommandState
   283        // Possible states for iLockCommandState
   295        enum TSCPLockCmdState
   284        enum TSCPLockCmdState
   296             {
   285             {
   297             ESCPLockCmdStateIdle,
   286             ESCPLockCmdStateIdle,