phoneclientserver/phoneclient/Src/CommandHandler/CPhCltComHandImplementation.cpp
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
--- a/phoneclientserver/phoneclient/Src/CommandHandler/CPhCltComHandImplementation.cpp	Mon Aug 23 15:50:31 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,184 +0,0 @@
-/*
-* Copyright (c) 2003-2004 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 the PhoneClient  interface.
-*
-*/
-
-
-
-// INCLUDE FILES
-#include    "cphcltcomhandimplementation.h" 
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::CPhCltCommandHandlerImplementation
-// 
-// C++ constructor can NOT contain any code, that might leave.
-// -----------------------------------------------------------------------------
-//
-CPhCltCommandHandlerImplementation::CPhCltCommandHandlerImplementation()
-    {
-    }
-
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::ConstructL
-// 
-// Symbian 2nd phase constructor can leave.
-// -----------------------------------------------------------------------------
-//
-void CPhCltCommandHandlerImplementation::ConstructL()
-    {
-    User::LeaveIfError( iServer.Connect() );    
-    User::LeaveIfError (iCommandHandler.Open( iServer ) ); 
-    }
-
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::NewL
-// 
-// Two-phased constructor.
-// -----------------------------------------------------------------------------
-//
-CPhCltCommandHandlerImplementation* CPhCltCommandHandlerImplementation::NewL()
-    {
-    CPhCltCommandHandlerImplementation* self = 
-        new (ELeave) CPhCltCommandHandlerImplementation();   
-
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop();
-    return self;
-    }
-    
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::~CPhCltCommandHandlerImplementation
-// 
-// Destructor.
-// -----------------------------------------------------------------------------
-//
-CPhCltCommandHandlerImplementation::~CPhCltCommandHandlerImplementation()
-    {
-    // Close Subsession.
-    iCommandHandler.Close();
-    iServer.Close();
-    }
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::Atd
-// 
-// Dial. Only voice call is supported.
-// -----------------------------------------------------------------------------
-//
-void CPhCltCommandHandlerImplementation::Atd(
-    TRequestStatus& aStatus, 
-    const TPhCltTelephoneNumber& aTelephoneNumber )
-    {
-    iCommandHandler.Atd( aStatus, aTelephoneNumber );
-    }
- 
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::Ata
-// 
-// Answer the call. 
-// -----------------------------------------------------------------------------
-//
-void CPhCltCommandHandlerImplementation::Ata(
-    TRequestStatus& aStatus )
-    {
-    iCommandHandler.Ata( aStatus );
-    }
-
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::Chld
-// 
-// Call hold and multiparty handling.
-// -----------------------------------------------------------------------------
-//
-void CPhCltCommandHandlerImplementation::Chld(
-    TRequestStatus& aStatus, 
-    const TPhCltChldCommand aChldCommand,
-    const TUint aCallNumber )
-    {
-    iCommandHandler.Chld( aStatus, aChldCommand, aCallNumber );
-    }
-
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::Chup
-// 
-// Hangup current call.
-// -----------------------------------------------------------------------------
-//
-void CPhCltCommandHandlerImplementation::Chup(
-    TRequestStatus& aStatus )
-    {
-    iCommandHandler.Chup( aStatus );
-    }
-
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::Vts
-// 
-// DTMF sending, starting and stopping in same function. 
-// -----------------------------------------------------------------------------
-//
-void CPhCltCommandHandlerImplementation::Vts(
-    TRequestStatus& aStatus, 
-    const TPhCltDtmfTone aDtmfTone,
-    const TPhCltDtmfAction aAction )
-    {
-    iCommandHandler.Vts( aStatus, aDtmfTone, aAction );
-    }
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::CancelAsyncRequest
-// 
-// Cancel the ongoing asynchronous request.
-// -----------------------------------------------------------------------------
-//
-void CPhCltCommandHandlerImplementation::CancelAsyncRequest( 
-    const TPhCltComHandCommand aReqToCancel )
-    {
-    iCommandHandler.CancelAsyncRequest( aReqToCancel );
-    }
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::MuteMicrophone
-// -----------------------------------------------------------------------------
-//
-
-void CPhCltCommandHandlerImplementation::MuteMicrophone( 
-    TRequestStatus& aStatus, const TBool aMute )
-    {
-    iCommandHandler.MuteMicrophone( aStatus, aMute );
-    }
-
-// -----------------------------------------------------------------------------
-// CPhCltCommandHandlerImplementation::MuteRingingTone
-// -----------------------------------------------------------------------------
-//
-
-void CPhCltCommandHandlerImplementation::MuteRingingTone( 
-    TRequestStatus& aStatus  )
-    {
-    iCommandHandler.MuteRingingTone( aStatus );
-    }
-    
-
-
-//  End of File