S60 3rd Edition SDK for Symbian OS Example Applications Guide

# helloworldbasicappui.h

    00001 /*
    00002 * ==============================================================================
    00003 *  Name        : helloworldbasicappui.h
    00004 *  Part of     : Helloworldbasic
    00005 *  Interface   :
    00006 *  Description :
    00007 *  Version     :
    00008 *
    00009 *  Copyright (c) 2005-2006 Nokia Corporation.
    00010 *  This material, including documentation and any related
    00011 *  computer programs, is protected by copyright controlled by
    00012 *  Nokia Corporation.
    00013 * ==============================================================================
    00014 */
    00015
    00016 #ifndef __HELLOWORLDBASICAPPUI_H__
    00017 #define __HELLOWORLDBASICAPPUI_H__
    00018
    00019 // INCLUDES
    00020 #include <aknappui.h>
    00021
    00022
    00023 // FORWARD DECLARATIONS
    00024 class CHelloWorldBasicAppView;
    00025
    00026
    00027 // CLASS DECLARATION
    00028 /**
    00029 * CHelloWorldBasicAppUi application UI class.
    00030 * Interacts with the user through the UI and request message processing
    00031 * from the handler class
    00032 */
    00033 class CHelloWorldBasicAppUi : public CAknAppUi
    00034     {
    00035     public: // Constructors and destructor
    00036
    00037         /**
    00038         * ConstructL.
    00039         * 2nd phase constructor.
    00040         */
    00041         void ConstructL();
    00042
    00043         /**
    00044         * CHelloWorldBasicAppUi.
    00045         * C++ default constructor. This needs to be public due to
    00046         * the way the framework constructs the AppUi
    00047         */
    00048         CHelloWorldBasicAppUi();
    00049
    00050         /**
    00051         * ~CHelloWorldBasicAppUi.
    00052         * Virtual Destructor.
    00053         */
    00054         virtual ~CHelloWorldBasicAppUi();
    00055
    00056     private:  // Functions from base classes
    00057
    00058         /**
    00059         * From CEikAppUi, HandleCommandL.
    00060         * Takes care of command handling.
    00061         * @param aCommand Command to be handled.
    00062         */
    00063         void HandleCommandL( TInt aCommand );
    00064
    00065         /**
    00066         *  HandleStatusPaneSizeChange.
    00067         *  Called by the framework when the application status pane
    00068                 *  size is changed.
    00069         */
    00070
    00071                 void HandleStatusPaneSizeChange();
    00072
    00073     private: // Data
    00074
    00075         /**
    00076         * The application view
    00077         * Owned by CHelloWorldBasicAppUi
    00078         */
    00079         CHelloWorldBasicAppView* iAppView;
    00080
    00081
    00082     };
    00083
    00084 #endif // __HELLOWORLDBASICAPPUI_H__
    00085
    00086 // End of File
    00087

© Nokia 2006 |