Nokia N97 SDK
Example Applications Guide

RichTextEditorDocument.h

00001 /*
00002 * ============================================================================
00003 *  Name     : CRTEDocument from RichTextEditorDocument.h
00004 *  Part of  : RichTextEditor
00005 *  Created  : 05/08/2006 by Forum Nokia 
00006 *      Implementation notes: - standard Avkon document class source
00007 *  Version  : 2.0
00008 *
00009 *  Copyright (c) 2006 - 2007 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 RTEDOCUMENT_H
00017 #define RTEDOCUMENT_H
00018 
00019 // INCLUDES
00020 #include <akndoc.h>
00021    
00022 
00023 // FORWARD DECLARATIONS
00024 class  CEikAppUi;
00025 
00026 // CLASS DECLARATION
00027 
00028 /**
00029 *  CRTEDocument application class.
00030 */
00031 class CRTEDocument : public CAknDocument
00032     {
00033     public: // Constructors and destructor
00034         /**
00035         * Two-phased constructor.
00036         */
00037         static CRTEDocument* NewL(CEikApplication& aApp);
00038 
00039         /**
00040         * Destructor.
00041         */
00042         virtual ~CRTEDocument();
00043 
00044 
00045     private:
00046 
00047         /**
00048         * EPOC default constructor.
00049         */
00050         CRTEDocument(CEikApplication& aApp);
00051         void ConstructL();
00052 
00053     private:
00054 
00055         /**
00056         * From CEikDocument, create CRTEAppUi "App UI" object.
00057         */
00058         CEikAppUi* CreateAppUiL();
00059     };
00060 
00061 #endif
00062 
00063 // End of File
00064 

© Nokia 2009

Back to top