mmaudio_plat/telephony_audio_routing_client_api/TelephonyAudioRouting_TestApp/inc/myplayerappui.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmaudio_plat/telephony_audio_routing_client_api/TelephonyAudioRouting_TestApp/inc/myplayerappui.h Tue Nov 02 12:13:59 2010 +0000
@@ -0,0 +1,95 @@
+/*
+* Copyright (c) 2002 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: TelephonyAudioRouting Test Application
+*
+*/
+
+#ifndef __MYPLAYERAPPUI_h__
+#define __MYPLAYERAPPUI_h__
+
+// INCLUDES
+#include <aknappui.h>
+#include "myplayer.h"
+// FORWARD DECLARATIONS
+class CMyPlayerAppView;
+
+// CLASS DECLARATION
+/**
+ * CMyPlayerAppUi application UI class.
+ * Interacts with the user through the UI and request message processing
+ * from the handler class
+ */
+class CMyPlayerAppUi : public CAknAppUi
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * ConstructL.
+ * 2nd phase constructor.
+ */
+ void ConstructL();
+
+ /**
+ * CMyPlayerAppUi.
+ * C++ default constructor. This needs to be public due to
+ * the way the framework constructs the AppUi
+ */
+ CMyPlayerAppUi();
+
+ /**
+ * ~CMyPlayerAppUi.
+ * Virtual Destructor.
+ */
+ virtual ~CMyPlayerAppUi();
+
+private:
+ // Functions from base classes
+
+ /**
+ * From CEikAppUi, HandleCommandL.
+ * Takes care of command handling.
+ * @param aCommand Command to be handled.
+ */
+ void HandleCommandL(TInt aCommand);
+
+ /**
+ * HandleStatusPaneSizeChange.
+ * Called by the framework when the application status pane
+ * size is changed.
+ */
+ void HandleStatusPaneSizeChange();
+
+ /**
+ * From CCoeAppUi, HelpContextL.
+ * Provides help context for the application.
+ * size is changed.
+ */
+ CArrayFix<TCoeHelpContext>* HelpContextL() const;
+
+private:
+ // Data
+
+ /**
+ * The application view
+ * Owned by CMyPlayerAppUi
+ */
+ CMyPlayerAppView* iAppView;
+ CMyPlayer* iPlayer;
+ TFileName iFileToOpen;
+
+ };
+
+#endif // __MYPLAYERAPPUI_h__
+// End of File