Nokia N97 SDK
Example Applications Guide

helpexampleapplication.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : helpexampleapplication.h
00004 *  Part of     : Help example
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 __HELPEXAMPLE_APPLICATION_H__
00017 #define __HELPEXAMPLE_APPLICATION_H__
00018 
00019 // INCLUDES
00020 #include <aknapp.h>
00021 #include "HelpExampleUID.hrh"
00022 
00023 // CONSTANTS
00024 
00025 // UID for the application; this should correspond to the UID
00026 // defined in the mmp file
00027 const TUid KUidHelpExampleApp = { HELP_UID3 };
00028 const TUid KUidHelpFile = { HELPFILE_UID };
00029 
00030 // CLASS DECLARATIONS
00031 
00032 /**
00033 * CHelpExampleApplication
00034 * An instance of CHelpExampleApplication is the application part of the AVKON
00035 * application framework for the HelpExample example application
00036 */
00037 
00038 class CHelpExampleApplication : public CAknApplication
00039     {
00040         public:  // from CAknApplication
00041 
00042             /**
00043             * AppDllUid()
00044             * Return the application DLL UID value
00045             * @return The UID of this Application/Dll
00046             */
00047             TUid AppDllUid() const;
00048 
00049         protected: // from CAknApplication
00050 
00051             /**
00052             * CreateDocumentL()
00053             * Create a CApaDocument object and return a pointer to it
00054             * @return A pointer to the created document
00055             */
00056             CApaDocument* CreateDocumentL();
00057     };
00058 
00059 #endif // __HELPEXAMPLE_APPLICATION_H__
00060 
00061 // End of File
00062 

© Nokia 2009

Back to top