diff -r 000000000000 -r 40261b775718 inc/AudioOutputCustomInterfaceHandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inc/AudioOutputCustomInterfaceHandler.h Tue Feb 02 01:56:55 2010 +0200 @@ -0,0 +1,65 @@ +/* +* Copyright (c) 2005-2006 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 Output Custom Interface Handler class +* +*/ + +#include +#include "AudioOutputCI.h" +#include + +class CAudioOutputCustomInterfaceHandler : public CActive + { + public: + /** + * Two-phased constructor. + */ + static CAudioOutputCustomInterfaceHandler* NewL(); + + /** + * Request to generate event + * @aEvent The event to generate + * @aError The error to report with the event + * @since 3.0 + */ + void HandleRequest(TMMFMessage& aMessage); + + virtual ~CAudioOutputCustomInterfaceHandler(); + + private: + + /** + * C++ default constructor. + */ + CAudioOutputCustomInterfaceHandler(); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + + void RunL(); + + void DoCancel(); + + /** + * Used to complete a request + */ + void Ready(const TInt aStatus); + + private: + + TMMFMessage* iMessage; + }; +