diff -r 890b5dd735f8 -r f15ac8e65a02 vtuis/lcvtplugin/src/base/clcvtengine.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vtuis/lcvtplugin/src/base/clcvtengine.cpp Tue Aug 31 15:16:10 2010 +0300 @@ -0,0 +1,59 @@ +/* +* Copyright (c) 2008 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: LiveComm Videotelephony Plugin Class +* +*/ + +#include +#include +#include +#include "clcvtengine.h" +#include "clcvtsession.h" +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +CLcVtEngine* CLcVtEngine::NewL( TAny* aParams ) + { + CLcVtEngine* self = new ( ELeave ) CLcVtEngine; + CleanupStack::PushL( self ); + self->ConstructL(); + CleanupStack::Pop( self ); + return self; + } + +CLcVtEngine::~CLcVtEngine() + { + delete iSession; + } + +MLcSession& CLcVtEngine::Session() + { + return *iSession; + } + +void CLcVtEngine::ConstructL() + { + iSession = CLcVtSession::NewL(); + } + +CLcVtEngine::CLcVtEngine() : CLcEngine() + { + + } + +TBool CLcVtEngine::IsFeatureSupported( TLcFeature aLcFeature ) + { + return iSession->IsFeatureSupported( aLcFeature ); + }