diff -r 000000000000 -r b497e44ab2fc terminalsecurity/SCP/SCPServer/src/SCPLockEventHandler.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/terminalsecurity/SCP/SCPServer/src/SCPLockEventHandler.cpp Thu Dec 17 09:07:52 2009 +0200 @@ -0,0 +1,78 @@ +/* +* 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 +* +*/ + + +// INCLUDE FILES +#include +#include + +#include +#include + + + +#include +#include // Property values + + + +#include + +#include "SCPLockEventHandler.h" +#include "SCPServer.h" + +// ================= MEMBER FUNCTIONS ======================= + +// C++ default constructor can NOT contain any code, that +// might leave. +// +CSCPLockEventHandler::CSCPLockEventHandler( CSCPServer* aServer ) + : CActive( EPriorityHigh ), + iServer( aServer ) + // Assign a high priority to bypass all other possible outstanding requests + { + Dprint( (_L("--> CSCPLockEventHandler::CSCPLockEventHandler()")) ); + + // No implementation required + + Dprint( (_L("<-- CSCPLockEventHandler::CSCPLockEventHandler()")) ); + } + + +// Symbian 2nd phase constructor can leave. +void CSCPLockEventHandler::BaseConstructL() + { + Dprint( (_L("--> CSCPLockEventHandler::BaseConstructL()") )); + + iServer->GetEtelHandlesL( &iTelServ, &iPhone ); + + CActiveScheduler::Add( this ); + + Dprint( (_L("<-- CSCPLockEventHandler::BaseConstructL()") )); + } + + +// Destructor +CSCPLockEventHandler::~CSCPLockEventHandler() + { + Dprint( (_L("--> CSCPLockEventHandler::~CSCPLockEventHandler()") )); + + Dprint( (_L("<-- CSCPLockEventHandler::~CSCPLockEventHandler()") )); + } + +// End of File +