S60 3rd Edition SDK for Symbian OS
Example Applications Guide

PickSelectApp.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : PickSelectApp.h
00004 *  Part of     : OpenGLEx / PickSelect
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2004-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 PICKSELECTAPP_H
00017 #define PICKSELECTAPP_H
00018 
00019 // INCLUDES
00020 #include <aknapp.h>
00021 
00022 // CONSTANTS
00023 /** UID of the application. */
00024 const TUid KUidPickSelect = { 0xA0000217 };
00025 
00026 // CLASS DECLARATION
00027 
00028 /**
00029  * Application class. Provides factory method to create a concrete document object.
00030  */
00031 class CPickSelectApp : public CAknApplication
00032     {
00033     private: // Functions from base classes
00034 
00035         /**
00036          * From CApaApplication, creates and returns CPickSelectDocument document object.
00037          * @return Pointer to the created document object.
00038          */
00039         CApaDocument* CreateDocumentL();
00040         
00041         /**
00042          * From CApaApplication, returns application's UID (KUidPickSelect).
00043          * @return Value of KUidPickSelect.
00044          */
00045         TUid AppDllUid() const;
00046     };
00047 
00048 // ================= OTHER EXPORTED FUNCTIONS ==============
00049     
00050     /**
00051      * Factory method used by the E32Main method to create a new application instance.
00052      */
00053     LOCAL_C CApaApplication* NewApplication();
00054 
00055     /**
00056      * Entry point to the EXE application. Creates new application instance and
00057      * runs it by giving it as parameter to EikStart::RunApplication() method.
00058      */
00059     GLDEF_C TInt E32Main();
00060 
00061 
00062 #endif
00063 
00064 // End of File
00065 

© Nokia 2006

Back to top