Nokia N97 SDK
Example Applications Guide

RichTextEditorApp.h

00001 /*
00002 * ============================================================================
00003 *  Name     : CRTEApp from RichTextEditorApp.h
00004 *  Part of  : RichTextEditor
00005 *  Created  : 05/08/2006 by Forum Nokia 
00006 *  Version  : 2.0
00007 *
00008 *  Copyright (c) 2006 - 2007 Nokia Corporation.
00009 *  This material, including documentation and any related
00010 *  computer programs, is protected by copyright controlled by
00011 *  Nokia Corporation.
00012 * ============================================================================
00013 */
00014 
00015 #ifndef RTEAPP_H
00016 #define RTEAPP_H
00017 
00018 // INCLUDES
00019 #include <aknapp.h>
00020 
00021 // CONSTANTS
00022 // UID of the application
00023 #ifdef __SERIES60_3X__
00024 const TUid KUidRTE = { 0xE1EF0030 };
00025 #else
00026 const TUid KUidRTE = { 0x01EF0030 };
00027 #endif
00028 // CLASS DECLARATION
00029 
00030 /**
00031 * CRTEApp application class.
00032 * Provides factory to create concrete document object.
00033 * 
00034 */
00035 class CRTEApp : public CAknApplication
00036     {
00037     
00038     public: // Functions from base classes
00039     private:
00040 
00041         /**
00042         * From CApaApplication, creates CRTEDocument document object.
00043         * @return A pointer to the created document object.
00044         */
00045         CApaDocument* CreateDocumentL();
00046         
00047         /**
00048         * From CApaApplication, returns application's UID (KUidRTE).
00049         * @return The value of KUids.
00050         */
00051         TUid AppDllUid() const;
00052     };
00053 
00054 #endif
00055 
00056 // End of File
00057 

© Nokia 2009

Back to top