# examples/ForumNokia/BluetoothPMPExample/inc/BluetoothPMPExampleAppUi.h

    00001 /*
    00002  * Copyright © 2009 Nokia Corporation.
    00003  */
    00004
    00005 #ifndef BLUETOOTHPMPEXAMPLEAPPUI_H
    00006 #define BLUETOOTHPMPEXAMPLEAPPUI_H
    00007
    00008 // INCLUDES
    00009 #include <eikapp.h>
    00010 #include <eikdoc.h>
    00011 #include <e32std.h>
    00012 #include <coeccntx.h>
    00013 #include <aknappui.h>
    00014
    00015 _LIT(KMsgSendFailed, "Can't send msg");
    00016 _LIT(KInfo, "Bluetooth PMP example\n");
    00017
    00018 // FORWARD DECLARATIONS
    00019 class CBluetoothPMPExampleEngine;
    00020 class CBluetoothPMPExampleRTEContainer;
    00021
    00022 // CLASS DECLARATION
    00023
    00030 class CBluetoothPMPExampleAppUi : public CAknAppUi
    00031     {
    00032     public: // // Constructors and destructor
    00033
    00037         void ConstructL();
    00038
    00042         ~CBluetoothPMPExampleAppUi();
    00043
    00044     public: // New functions
    00045
    00046         CBluetoothPMPExampleRTEContainer* Container();
    00047         void ResetUiL();
    00048
    00049     public: // Functions from base classes
    00053         void HandleResourceChangeL(TInt aType);
    00054
    00055     private:
    00056         // From MEikMenuObserver
    00057         void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
    00058
    00059     private:
    00064         void HandleCommandL(TInt aCommand);
    00065
    00072         virtual TKeyResponse HandleKeyEventL(
    00073             const TKeyEvent& aKeyEvent,TEventCode aType);
    00074
    00075     private:    // data
    00076         CBluetoothPMPExampleEngine* iEngine;
    00077         CBluetoothPMPExampleRTEContainer* iContainer;
    00078
    00079
    00080     };
    00081
    00082 #endif
    00083
    00084 // End of File