terminalsecurity/SCP/SCPServer/inc/SCPLockEventHandler.h
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2000 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Implementation of terminalsecurity components
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SCPLOCKEVENTHANDLER_H
       
    20 #define SCPLOCKEVENTHANDLER_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <bldvariant.hrh>
       
    24 #include <e32base.h>
       
    25 #include <etelmm.h>
       
    26 #include "SCPSession.h"
       
    27 #include "SCPServerInterface.h"
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  A base class for the active objects responsible for the lock phone functionality
       
    33 */
       
    34 class CSCPLockEventHandler : public CActive
       
    35 	{		
       
    36 	public:  // Methods
       
    37 
       
    38         // Constructors and destructor
       
    39         
       
    40         /**
       
    41         * C++ default constructor.
       
    42         */
       
    43         CSCPLockEventHandler( CSCPServer* aServer );
       
    44 
       
    45         /**
       
    46         * Destructor.
       
    47         */
       
    48         virtual ~CSCPLockEventHandler();
       
    49                         
       
    50     protected:  // Methods
       
    51 
       
    52        // New Methods
       
    53         
       
    54         /**
       
    55         * The base class constuction method, opens the member handles
       
    56         */
       
    57         void BaseConstructL();     
       
    58 
       
    59     protected:  // Data
       
    60         /** A ptr to the SCP server */
       
    61         CSCPServer* iServer;
       
    62         /** A prt to a handle to ETel server, not owned */
       
    63         RTelServer*  iTelServ;
       
    64         /** A ptr to a handle to the multimode TSY, not owned */
       
    65         RMobilePhone* iPhone;                                
       
    66     };
       
    67 
       
    68 #endif      // SCPLOCKEVENTHANDLER_H   
       
    69             
       
    70 // End of File
       
    71