terminalsecurity/SCP/SCPServer/inc/SCPLockEventHandler.h
changeset 0 b497e44ab2fc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/terminalsecurity/SCP/SCPServer/inc/SCPLockEventHandler.h	Thu Dec 17 09:07:52 2009 +0200
@@ -0,0 +1,71 @@
+/*
+* 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
+