Nokia N97 SDK
Example Applications Guide

aknexnotedocument.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : aknexnotedocument.h
00004 *  Part of     : Note 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 __AKNEXNOTEDOCUMENT_H__
00017 #define __AKNEXNOTEDOCUMENT_H__
00018 
00019 
00020 // INCLUDES
00021 #include <eikdoc.h>
00022 
00023 
00024 
00025 // FORWARD DECLARATIONS
00026 class  CEikAppUi;
00027 
00028 // CLASS DECLARATION
00029 
00030 /**
00031 *  CAknExNoteDocument application class.
00032 */
00033 class CAknExNoteDocument : public CEikDocument
00034     {
00035     public: // Constructors and destructor
00036 
00037         /**
00038         * NewL.
00039         * Two-phased constructor.
00040         * Construct a CAknExNoteDocument for the AVKON application aApp.
00041         * Using two phase construction,and return a pointer 
00042         * to the created object.
00043         * @param aApp Reference to Application class object.
00044         * @return Pointer to created Document class object.
00045         */
00046         static CAknExNoteDocument* NewL( CEikApplication& aApp );
00047 
00048         /**
00049         * ~CAknExNoteDocument.
00050         * Virtual Destructor.
00051         */
00052         virtual ~CAknExNoteDocument();
00053 
00054     private: // Constructors
00055 
00056         /**
00057         * CAknExNoteDocument.
00058         * C++ default constructor.
00059         * @param aApp Reference to Application class object.
00060         */
00061         CAknExNoteDocument( CEikApplication& aApp );
00062 
00063     private: // From CEikDocument
00064 
00065         /**
00066         * CreateAppUiL
00067         * Create CAknExNoteAppUi "App UI" object.
00068         * @return Pointer to created AppUi class object.
00069         */
00070         CEikAppUi* CreateAppUiL();
00071 
00072     };
00073 
00074 #endif  //__AKNEXNOTEDOCUMENT_H__
00075 
00076 // End of File

© Nokia 2009

Back to top