S60 3rd Edition SDK for Symbian OS
Example Applications Guide

LBSReferenceApp.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : LbsReferenceApp.h
00004 *  Part of     : LBSReference example application
00005 *  Interface   : 
00006 *  Description : This class implements CEikApplication and is used in the 
00007 *                launching of the application
00008 *  Version     : 1.0
00009 *
00010 *  Copyright (c) 2005-2006 Nokia Corporation.
00011 *  This material, including documentation and any related 
00012 *  computer programs, is protected by copyright controlled by 
00013 *  Nokia Corporation.
00014 * ==============================================================================
00015 */
00016 
00017 #ifndef LBSREFERENCEAPP_H
00018 #define LBSREFERENCEAPP_H
00019 
00020 // INCLUDES
00021 #include <aknapp.h>
00022 
00023 // CONSTANTS
00024 
00025 // UID of the application
00026 const TUid KUidLBSReference = { 0xA0000189 };
00027 
00028 // CLASS DECLARATION
00029 
00030 /**
00031 * CLbsReferenceApp application class.
00032 * Provides factory to create concrete document object.
00033 *
00034 */
00035 class CLbsReferenceApp : public CAknApplication
00036     {
00037     private:
00038 
00039         /**
00040         * From CApaApplication, returns application's UID (KUidLBSReference).
00041         * @return The value of KUidLBSReference.
00042         */
00043         TUid AppDllUid() const;
00044 
00045         /**
00046         * From CApaApplication, creates CLBSReferenceDocument document object.
00047         * @return A pointer to the created document object.
00048         */
00049         CApaDocument* CreateDocumentL();
00050     };
00051 
00052 #endif //LBSREFERENCEAPP_H
00053 
00054 // End of File
00055 

© Nokia 2006

Back to top