Update contrib.
2 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: AudioOutput Proxy Active Object
18 #ifndef CAUDIOOUTPUTPROXYAO_H
19 #define CAUDIOOUTPUTPROXYAO_H
23 #include <mmf/common/mmfcontrollerframework.h>
24 #include <MCustomCommand.h>
25 // FORWARD DECLARATIONS
26 class CCustomCommandUtility;
27 class CAudioOutputProxy;
33 * ?one_line_short_description.
34 * ?other_description_lines
36 class CAudioOutputProxyAO : public CActive
40 * Two-phased constructor.
42 static CAudioOutputProxyAO* NewL(CAudioOutput *aOutputProxy,MAudioOutputObserver& aObserver,MCustomCommand* aUtility);
44 virtual ~CAudioOutputProxyAO();
47 * ?member_description.
48 * @since Series 60 3.0
49 * @param aDestination Handle of the message handler
50 * @param aFunction Message handler function
53 void SendAsyncMessage(const TMMFMessageDestinationPckg& aDestination,
57 * ?member_description.
58 * @since Series 60 3.0
59 * @param aFlag EFalse=unregistered, ETrue=registered
62 void SetRegisterFlag(TBool aFlag);
65 * ?member_description.
66 * @since Series 60 3.0
67 * @param aObserver Observer Instance
70 void SetObserver(MAudioOutputObserver& aObserver);
76 * C++ default constructor.
78 CAudioOutputProxyAO(CAudioOutput *aOutputProxy,MAudioOutputObserver& aObserver,MCustomCommand* aUtility);
81 * By default Symbian 2nd phase constructor is private.
85 // Functions from base classes
88 * From CActive ?member_description
93 * From CActive ?member_description
98 CAudioOutput* iAudioOutputProxy;
99 MCustomCommand* iCustomCommandUtility;
100 TPckgBuf<CAudioOutput::TAudioOutputPreference> iCallbackData;
101 MAudioOutputObserver* iObserver;
102 const TMMFMessageDestinationPckg* iDestination;
109 #endif // CAUDIOOUTPUTPROXYAO_H