diff -r e71858845f73 -r e1758cbb96ac audiostubs/devsoundextensions_stubs/restrictedaudiooutputcistub/inc/RestrictedAudioOutputCIStub.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/audiostubs/devsoundextensions_stubs/restrictedaudiooutputcistub/inc/RestrictedAudioOutputCIStub.h Mon Oct 04 00:04:35 2010 +0300 @@ -0,0 +1,72 @@ +/* +* Copyright (c) 2007 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 Stubs - This is the definition of the RestrictedAudioOutput Custom Interface class. +* This serves as an example of how adaptation might define the +* custom interface class. +* The CRestrictedAudioOutputCI object is typically instantiated by a DevSound +* instance and return to the client when the CustomInterface() +* method is invoked. +* +* +*/ + +#ifndef RESTRICTEDAUDIOOUTPUTCI_H +#define RESTRICTEDAUDIOOUTPUTCI_H + +#include +#include +# +class CMMFDevSound; + +class CRestrictedAudioOutputCI : public CRestrictedAudioOutput + + { + public: // Constructor and Destructor + + /** + * Two-phased constructor. + */ + IMPORT_C static CRestrictedAudioOutputCI* NewL(); + + /** + * Destructor. + */ + virtual ~CRestrictedAudioOutputCI(); + + public: // From Base Class + + /** + * + * + * @since 3.2 + */ + virtual TInt Commit(); + + private: + + /** + * By default Symbian 2nd phase constructor is private. + */ + // static void ConstructL(); + /** + * C++ default constructor. + */ + + CRestrictedAudioOutputCI(); + + private: // Data + + + }; +#endif //RESTRICTEDAUDIOOUTPUTCI_H