1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mm_plat/audio_routing_proxy_api/inc/AudioInputProxy.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,88 @@
1.4 +/*
1.5 +* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description: Audio Input Proxy header
1.18 +*
1.19 +*/
1.20 +
1.21 +
1.22 +#ifndef CAUDIOINPUTPROXY_H
1.23 +#define CAUDIOINPUTPROXY_H
1.24 +
1.25 +// INCLUDES
1.26 +#include "AudioInput.h"
1.27 +#include <mmf/common/mmfcontrollerframework.h>
1.28 +#include <MCustomCommand.h>
1.29 +// FORWARD DECLARATIONS
1.30 +class CCustomCommandUtility;
1.31 +class CCustomInterfaceUtility;
1.32 +
1.33 +
1.34 +// CLASS DECLARATION
1.35 +
1.36 +/**
1.37 +* ?one_line_short_description.
1.38 +* ?other_description_lines
1.39 +*/
1.40 +class CAudioInputProxy: public CAudioInput
1.41 + {
1.42 + friend class CAudioInput;
1.43 + public: // Constructors and destructor
1.44 +
1.45 + IMPORT_C static CAudioInputProxy* NewL(TMMFMessageDestinationPckg aMessageHandler,
1.46 + MCustomCommand& aCustomCommand,
1.47 + CCustomInterfaceUtility* aCustomInterfaceUtility);
1.48 +
1.49 + /**
1.50 + * Destructor.
1.51 + */
1.52 + virtual ~CAudioInputProxy();
1.53 +
1.54 + IMPORT_C static const TUid Uid();
1.55 +
1.56 + /**
1.57 + * ?member_description.
1.58 + * @param ?arg1 ?description
1.59 + * @return ?description
1.60 + */
1.61 + virtual TAudioInputArray AudioInput();
1.62 +
1.63 + /**
1.64 + * ?member_description.
1.65 + * @param ?arg1 ?description
1.66 + * @return ?description
1.67 + */
1.68 + virtual void SetAudioInputL(TAudioInputArray aAudioInputs);
1.69 +
1.70 + protected:
1.71 + /**
1.72 + * C++ default constructor.
1.73 + */
1.74 + CAudioInputProxy(TMMFMessageDestinationPckg aMessageHandler,
1.75 + MCustomCommand& aCustomCommand,
1.76 + CCustomInterfaceUtility* aCustomInterfaceUtility);
1.77 + /**
1.78 + * EPOC constructor.
1.79 + */
1.80 + void ConstructL();
1.81 +
1.82 + private: // Data
1.83 + MCustomCommand* iCustomCommand;
1.84 + CArrayFixFlat<TAudioInputPreference> iInputArray;
1.85 + TMMFMessageDestinationPckg iMessageHandler;
1.86 + CCustomInterfaceUtility* iCustomInterfaceUtility;
1.87 + };
1.88 +
1.89 +#endif // CAUDIOINPUTPROXY_H
1.90 +
1.91 +// End of File