Update contrib.
2 * Copyright (c) 2005 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: This is the class handles Message Handling between Audio Resrouce
20 #ifndef CAUDIORESOURCEPROXYAO_H
21 #define CAUDIORESOURCEPROXYAO_H
25 #include <mmfcontrollerframework.h>
26 #include <MCustomCommand.h>
28 // FORWARD DECLARATIONS
29 class CCustomCommandUtility;
30 class CAudioResourceUtilityProxy;
36 * This is the Audio Resource proxy Active object class responsible for handling callback messages.
38 * @lib AudioResourceProxy.lib
41 class CAudioResourceProxyAO : public CActive
45 * Two-phased constructor.
47 static CAudioResourceProxyAO* NewL(CAudioResourceUtility *aResourceProxy,
48 MAudioResourceUtilityObserver& aObserver,
49 MCustomCommand* aUtility);
51 virtual ~CAudioResourceProxyAO();
54 * Send Asyncronous Message
57 void SendAsyncMessage(const TMMFMessageDestinationPckg& aDestination,
60 void SetRegisterFlag(TBool aFlag);
65 * C++ default constructor.
67 CAudioResourceProxyAO(CAudioResourceUtility *aResourceProxy,
68 MAudioResourceUtilityObserver& aObserver,
69 MCustomCommand* aUtility);
72 * By default Symbian 2nd phase constructor is private.
81 CAudioResourceUtility* iAudioResourceProxy;
82 MAudioResourceUtilityObserver& iObserver;
83 MCustomCommand* iCustomCommandUtility;
84 const TMMFMessageDestinationPckg* iDestination;
90 #endif // CAUDIORESOURCEPROXYAO_H