terminalsecurity/SCP/SCPServer/inc/SCPLockEventHandler.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:04:06 +0300
branchRCL_3
changeset 61 b183ec05bd8c
parent 0 b497e44ab2fc
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2000 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Implementation of terminalsecurity components
*
*/


#ifndef SCPLOCKEVENTHANDLER_H
#define SCPLOCKEVENTHANDLER_H

//  INCLUDES
#include <bldvariant.hrh>
#include <e32base.h>
#include <etelmm.h>
#include "SCPSession.h"
#include "SCPServerInterface.h"

// CLASS DECLARATION

/**
*  A base class for the active objects responsible for the lock phone functionality
*/
class CSCPLockEventHandler : public CActive
	{		
	public:  // Methods

        // Constructors and destructor
        
        /**
        * C++ default constructor.
        */
        CSCPLockEventHandler( CSCPServer* aServer );

        /**
        * Destructor.
        */
        virtual ~CSCPLockEventHandler();
                        
    protected:  // Methods

       // New Methods
        
        /**
        * The base class constuction method, opens the member handles
        */
        void BaseConstructL();     

    protected:  // Data
        /** A ptr to the SCP server */
        CSCPServer* iServer;
        /** A prt to a handle to ETel server, not owned */
        RTelServer*  iTelServ;
        /** A ptr to a handle to the multimode TSY, not owned */
        RMobilePhone* iPhone;                                
    };

#endif      // SCPLOCKEVENTHANDLER_H   
            
// End of File