Nokia N97 SDK
Example Applications Guide

HierarchicalColumnListAppUi.h

00001 /*
00002 * ============================================================================
00003 *  Name        : HierarchicalColumnListAppUi.h
00004 *  Part of     : Hierarchical Column List Example Application
00005 *  Description : AppUi class for the example application.
00006 *  Version     : %version: 1 %
00007 *
00008 *  Copyright © 2007 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia
00011 *  Corporation.
00012 * ============================================================================
00013 */
00014 
00015 #ifndef C_HIERARCHICALCOLUMNLISTAPPUI_H
00016 #define C_HIERARCHICALCOLUMNLISTAPPUI_H
00017 
00018 
00019 #include <aknappui.h>
00020 
00021 class CHierarchicalColumnListAppView;
00022 
00023 
00024 /**
00025  *  An instance of class CHierarchicalColumnListAppUi is the UserInterface
00026  *  part of the AVKON application framework for the HierarchicalColumnList
00027  *  application.
00028  */
00029 class CHierarchicalColumnListAppUi : public CAknAppUi
00030     {
00031 
00032 public:
00033 
00034     /**
00035      * Second phase constructor. Performs the second phase construction of a
00036      * CHierarchicalColumnListAppUi object this needs to be public due to
00037      * the way the framework constructs the AppUi .
00038      */
00039     void ConstructL();
00040 
00041     /**
00042      * C++ constructor. Performs the first phase of two phase construction.
00043      * This needs to be public due to the way the framework constructs the
00044      * AppUi.
00045      */
00046     CHierarchicalColumnListAppUi();
00047 
00048     /**
00049      * Destructor. Destroys the object and releases all memory objects.
00050      */
00051     ~CHierarchicalColumnListAppUi();
00052 
00053 // from base class CAknAppUi
00054 
00055     /**
00056      * Dynamically initialises a menu pane.
00057      */
00058     void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
00059 
00060     /**
00061      * Handles user menu selections.
00062      *
00063      * @param aCommand the enumerated code for the option selected.
00064      */
00065     void HandleCommandL( TInt aCommand );
00066 
00067     /**
00068      * Handles changes in keyboard focus when an application switches to,
00069      * or from, the foreground.
00070      */
00071     void HandleForegroundEventL( TBool aForeground );
00072 
00073     /**
00074      * Handles a change to the application's resources.
00075      *
00076      * @param aType The type of resources that have changed.
00077      */
00078     void HandleResourceChangeL( TInt aType );
00079 
00080 private:
00081 
00082     /**
00083      * View The application view.
00084      * Own.
00085      */
00086     CHierarchicalColumnListAppView* iAppView;
00087 
00088     };
00089 
00090 
00091 #endif // C_HIERARCHICALCOLUMNLISTAPPUI_H
00092 

© Nokia 2009

Back to top