S60 3rd Edition SDK for Symbian OS
Example Applications Guide

LBSReferenceDocument.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : LbsReferenceDocument.h
00004 *  Part of     : LBSReference example application
00005 *  Interface   : 
00006 *  Description : This class creates the user interface of the application
00007 *  Version     : 1.0
00008 *
00009 *  Copyright (c) 2005-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 LBSREFERENCEDOCUMENT_H
00017 #define LBSREFERENCEDOCUMENT_H
00018 
00019 // INCLUDES
00020 #include <akndoc.h>
00021 
00022 // FORWARD DECLARATIONS
00023 class  CEikAppUi;
00024 
00025 // CLASS DECLARATION
00026 
00027 /**
00028 *  This class creates the user interface of the application
00029 */
00030 class CLbsReferenceDocument : public CAknDocument
00031     {
00032     public: // Constructors and destructor
00033         /**
00034         * Two-phased constructor.
00035         */
00036         static CLbsReferenceDocument* NewL(CEikApplication& aApp);
00037 
00038         /**
00039         * Destructor.
00040         */
00041         virtual ~CLbsReferenceDocument();
00042 
00043     private:
00044 
00045         /**
00046         * Symbian OS default constructor.
00047         */
00048         CLbsReferenceDocument(CEikApplication& aApp);
00049         
00050         /**
00051         * Symbian OS default constructor.
00052         */
00053         void ConstructL();
00054 
00055     private:
00056 
00057         /**
00058         * From CEikDocument, create CLBSReferenceAppUi "App UI" object.
00059         */
00060         CEikAppUi* CreateAppUiL();
00061     };
00062 
00063 #endif //LBSREFERENCEDOCUMENT_H
00064 
00065 // End of File
00066 

© Nokia 2006

Back to top