--- a/vtprotocolsstub/src/caudioconfighandler.cpp Tue Jan 26 12:01:21 2010 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-/*
-* 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: Audio configuration implementation
-*
-*/
-
-#include "mvtprotocolhandler.h"
-#include "caudioconfighandler.h"
-
-#ifdef _DEBUG
-# define __IF_DEBUG(t) {RDebug::t;}
-#else
-# define __IF_DEBUG(t)
-#endif
-
-// -----------------------------------------------------------------------------
-// TAudioConfigHandler::TAudioConfigHandler
-// Constructor.
-// -----------------------------------------------------------------------------
-//
-TAudioConfigHandler::TAudioConfigHandler(MVtProtocolHandler* aProtocolHandler) : iProtocolHandler(aProtocolHandler)
- {
- __IF_DEBUG(Print(_L("VTProto: TAudioConfigHandler::TAudioConfigHandler<")));
- __IF_DEBUG(Print(_L("VTProto: TAudioConfigHandler::TAudioConfigHandler>")));
- }
-
-// -----------------------------------------------------------------------------
-// CAudioConfigCommand::CAudioConfigCommand
-// Constructor.
-// -----------------------------------------------------------------------------
-//
-CAudioConfigCommand::CAudioConfigCommand()
- {
- __IF_DEBUG(Print(_L("VTProto: CAudioConfigCommand::CAudioConfigCommand<")));
- __IF_DEBUG(Print(_L("VTProto: CAudioConfigCommand::CAudioConfigCommand>")));
- }
-
-// -----------------------------------------------------------------------------
-// CAudioConfigCommand::SetObserverL
-// This API allows the user to specify observers for the 324m interface.
-// -----------------------------------------------------------------------------
-//
-void CAudioConfigCommand::SetObserverL(MVtProtocolHandler* aHandler)
- {
- __IF_DEBUG(Print(_L("VTProto: CAudioConfigCommand::SetObserverL<")));
- iAudioConfigHandler = new (ELeave)TAudioConfigHandler(aHandler);
- __IF_DEBUG(Print(_L("VTProto: CAudioConfigCommand::SetObserverL>")));
- }
-
-// -----------------------------------------------------------------------------
-// CAudioConfigCommand::SetAudioVolumeL
-// Method to set the playback volume to the specified value.
-// -----------------------------------------------------------------------------
-//
-TInt CAudioConfigCommand::SetAudioVolumeL(TInt aVolume)
- {
- __IF_DEBUG(Print(_L("VTProto: CAudioConfigCommand::SetAudioVolumeL")));
- __IF_DEBUG(Print(_L("VTProto: CAudioConfigCommand::SetAudioVolumeL aVolume %d"), aVolume));
- return KErrNone;
- }
-
-// -----------------------------------------------------------------------------
-// CAudioConfigCommand::GetMaxAudioVolumeL
-// Method to get the maximum valid value for the playback volume.
-// -----------------------------------------------------------------------------
-//
-TInt CAudioConfigCommand::GetMaxAudioVolumeL(TInt& aMaxVolume)
- {
- __IF_DEBUG(Print(_L("VTProto: CAudioConfigCommand::GetMaxAudioVolumeL")));
- __IF_DEBUG(Print(_L("VTProto: CAudioConfigCommand::GetMaxAudioVolumeL aMaxVolume %d"), aMaxVolume));
- return KErrNone;
- }
-
-// -----------------------------------------------------------------------------
-// CAudioConfigCommand::~CAudioConfigCommand
-// Destructor.
-// -----------------------------------------------------------------------------
-//
-CAudioConfigCommand::~CAudioConfigCommand()
- {
- __IF_DEBUG(Print(_L("VTProto: CAudioConfigCommand::~CAudioConfigCommand>")));
- delete iAudioConfigHandler;
- __IF_DEBUG(Print(_L("VTProto: CAudioConfigCommand::~CAudioConfigCommand")));
- }
-// End of File
-
\ No newline at end of file