S60 3rd Edition SDK for Symbian OS
Example Applications Guide

MessagingDocument.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : MessagingDocument.h
00004 *  Part of     : Messaging
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
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 MESSAGINGDOCUMENT_H
00017 #define MESSAGINGDOCUMENT_H
00018 
00019 // INCLUDES
00020 #include <akndoc.h>
00021    
00022 // CONSTANTS
00023 
00024 // FORWARD DECLARATIONS
00025 class  CEikAppUi;
00026 
00027 // CLASS DECLARATION
00028 
00029 /**
00030 *  CMessagingDocument application class.
00031 */
00032 class CMessagingDocument : public CAknDocument
00033     {
00034     public: // Constructors and destructor
00035         /**
00036         * Two-phased constructor.
00037         */
00038         static CMessagingDocument* NewL( CEikApplication& aApp );
00039 
00040         /**
00041         * Destructor.
00042         */
00043         virtual ~CMessagingDocument();
00044 
00045     public: // New functions
00046 
00047     public: // Functions from base classes
00048 
00049     protected:  // New functions
00050 
00051     protected:  // Functions from base classes
00052 
00053     private:
00054 
00055         /**
00056         * Symbian default constructor.
00057         */
00058         CMessagingDocument( CEikApplication& aApp );
00059         void ConstructL();
00060 
00061     private:
00062 
00063         /**
00064         * From CEikDocument, create CMessagingAppUi "App UI" object.
00065         */
00066         CEikAppUi* CreateAppUiL();
00067     };
00068 
00069 #endif
00070 
00071 // End of File

© Nokia 2006

Back to top