Nokia N97 SDK
Example Applications Guide

ListboxAppUi.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : ListboxAppUi.h
00004 *  Part of     : Listbox example
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2007 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 __LISTBOXAPPUI_H__
00017 #define __LISTBOXAPPUI_H__
00018 
00019 
00020 #include <aknviewappui.h>
00021 #include "ViewTemplate.h"
00022 
00023 class CListboxNumberContainer;
00024 class CListboxGraphicContainer;
00025 class CListboxSettingView;
00026 
00027 
00028 /**
00029 * CListboxAppUi application UI class.
00030 * Interacts with the user through the UI and request message processing
00031 * from the handler class
00032 */
00033 class CListboxAppUi : public CAknViewAppUi
00034     {
00035     public: // Constructors and destructor
00036 
00037         /**
00038         * 2nd phase constructor.
00039         */
00040         void ConstructL();
00041 
00042         /**
00043         * C++ default constructor. This needs to be public due to
00044         * the way the framework constructs the AppUi
00045         */
00046         CListboxAppUi();
00047 
00048         /**
00049         * Virtual Destructor.
00050         */
00051         virtual ~CListboxAppUi();
00052 
00053     private:  // Functions from base classes
00054 
00055         /**
00056         * From CEikAppUi, HandleCommandL.
00057         * Takes care of command handling.
00058         * @param aCommand Command to be handled.
00059         */
00060         void HandleCommandL( TInt aCommand );
00061                 
00062                 /**
00063         * Handles a change to the control's resources.
00064         * @param aType A message UID value. 
00065         */
00066                 void HandleResourceChangeL( TInt aType );
00067         
00068     private: // Data
00069 
00070         /**
00071         * The SingleNumberStyle view.
00072         * Owned.
00073         */
00074         CViewTemplate<CListboxNumberContainer>* iSingleNumberStyleView;
00075         
00076         /**
00077         * The SingleGraphicStyle view.
00078         * Owned.
00079         */
00080         CViewTemplate<CListboxGraphicContainer>* iSingleGraphicStyleView;
00081         
00082         /**
00083         * The Setting view.
00084         * Owned.
00085         */
00086         CListboxSettingView* iSettingView;
00087         
00088         
00089     };
00090 
00091 #endif // __LISTBOXAPPUI_H__
00092 
00093 // End of File
00094 

© Nokia 2009

Back to top