mmsharing/livecommsui/lcui/tsrc/ipvtengine/src/musengsessionmanager.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
--- a/mmsharing/livecommsui/lcui/tsrc/ipvtengine/src/musengsessionmanager.cpp	Tue Aug 31 15:12:07 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,113 +0,0 @@
-/*
-* Copyright (c) 2009 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: 
-*
-*/
-
-#include "musengsessionmanager.h"
-#include "musengmcesession.h"
-#include "musengtwowaysession.h"
-#include "lcsession.h"
-#include "mccdatasender.h"
-#include "mccdatareceiver.h"
-#include "musenglogger.h"
-#include "mccdatastructures.h"
-#include <settingsinternalcrkeys.h>
-#include <centralrepository.h>
-
-// -----------------------------------------------------------------------------
-//
-// -----------------------------------------------------------------------------
-//
-CMusEngSessionManager* CMusEngSessionManager::NewL()
-    {
-    CMusEngSessionManager* self = new( ELeave )CMusEngSessionManager();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-        
-// -----------------------------------------------------------------------------
-//
-// -----------------------------------------------------------------------------
-//  
-CMusEngSessionManager::~CMusEngSessionManager()
-    {
-    delete iSession;
-    }
-
-// -----------------------------------------------------------------------------
-//
-// -----------------------------------------------------------------------------
-//
-CMusEngSessionManager::CMusEngSessionManager()
-    {
-    }
-
-// -----------------------------------------------------------------------------
-//
-// -----------------------------------------------------------------------------
-//
-void CMusEngSessionManager::ConstructL()
-    {
-    MUS_LOG( "mus: [ENGINE]  -> CMusEngSessionManager::ConstructL()" )
-    //iMsgReceiver = CMccDataReceiver::NewL(*this);
-    MUS_LOG( "mus: [ENGINE]  MsgQueue1 setup complete" )
-    //iMsgSender = CMccDataSender::NewL();
-    MUS_LOG( "mus: [ENGINE]  MsgQueue2 setup complete" )
-    iSession = CMusEngTwoWaySession::NewL();
-    iSession->SetRemoteL( _L("Homer Simpson") );
-    MUS_LOG( "mus: [ENGINE]  <- CMusEngSessionManager::ConstructL()" )
-    }
-
-// -----------------------------------------------------------------------------
-//
-// -----------------------------------------------------------------------------
-//
-MLcSession& CMusEngSessionManager::Session()
-    {
-    return *iSession;
-    }
-
-// -----------------------------------------------------------------------------
-//
-// -----------------------------------------------------------------------------
-//
-void CMusEngSessionManager::DataReceived( const TDataMessage& aData )
-    {
-    }
-
-// -----------------------------------------------------------------------------
-//
-// -----------------------------------------------------------------------------
-//
-TBool CMusEngSessionManager::IsFeatureSupported( TLcFeature aLcFeature )
-    {
-    TBool ret = EFalse;
-    if ( ELcSendVideoQuery == aLcFeature )
-        {
-        TInt videoSendingSetting;
-        CRepository* repository = CRepository::NewL( KCRUidTelephonySettings );
-        if ( KErrNone == repository->Get(KSettingsVTVideoSending, videoSendingSetting) )
-            {
-            if ( VTSETTING_ALWAYS_ASK_FIRST == videoSendingSetting ) 
-                ret = ETrue;
-            }
-        delete repository;
-        }
-    return ret;
-    }
-
-// End of File