Nokia N97 SDK
Example Applications Guide

ListboxApplication.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : ListboxApplication.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 __LISTBOXAPPLICATION_H__
00017 #define __LISTBOXAPPLICATION_H__
00018 
00019 
00020 #include <aknapp.h>
00021 
00022 
00023 /**
00024 * CListboxApplication application class.
00025 * Provides factory to create concrete document object.
00026 * An instance of CListboxApplication is the application part of the
00027 * AVKON application framework for the Listbox example application.
00028 */
00029 class CListboxApplication : public CAknApplication
00030     {
00031     public: // Functions from base classes
00032 
00033         /**
00034         * From CApaApplication, AppDllUid.
00035         * @return Application's UID (KUidListboxApp).
00036         */
00037         TUid AppDllUid() const;
00038 
00039     protected: // Functions from base classes
00040 
00041         /**
00042         * From CApaApplication, CreateDocumentL.
00043         * Creates CListboxDocument document object. The returned
00044         * pointer in not owned by the CListboxApplication object.
00045         * @return A pointer to the created document object.
00046         */
00047         CApaDocument* CreateDocumentL();
00048     };
00049 
00050 #endif // __LISTBOXAPPLICATION_H__
00051 
00052 // End of File
00053 

© Nokia 2009

Back to top