diff -r 37b610eb7fe3 -r 45254807acc4 audiostubs/devsoundextensions_stubs/cistubplugin/inc/cistubplugin.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/audiostubs/devsoundextensions_stubs/cistubplugin/inc/cistubplugin.h Wed Oct 13 14:09:31 2010 +0300 @@ -0,0 +1,60 @@ +/* +* 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: CI stub plugin +* +*/ + + + +// This file defines the API for AudiPlayRoutingControlCIStub.dll + +#ifndef CISTUBPLUGIN_H +#define CISTUBPLUGIN_H + +#include // CBase +#include // TBuf +#include +#include +#include "RestrictedAudioOutputCIStub.h" +#include "AudioOutputCI.h" +#include "AudioInputCI.h" +#include "AudioOutputMessageTypes.h" +#include "AudioInputMessageTypes.h" + +class MyMCustomInterface + { +public: + virtual TAny* CustomInterface(TUid aCustomeInterface) = 0; + virtual void Release() = 0; + virtual void PassDestructionKey(TUid aUid) = 0; + }; + +class CCIStubPlugin : public CBase,public MyMCustomInterface + { +public: + + static MyMCustomInterface* NewL(); + static CCIStubPlugin* NewLC(); + ~CCIStubPlugin(); + TAny* CustomInterface(TUid aInterfaceId); + void Release(); + void PassDestructionKey(TUid aUid); + +private: + TUid iDtor_ID_Key; + CCIStubPlugin(); + void ConstructL(); + }; + +#endif // __AUDIPLAYROUTINGCONTROLHWDEVICE_H__