S60 3rd Edition SDK for Symbian OS
Example Applications Guide

BrCtlSampleAppDocument.h

00001 /*
00002 * ============================================================================
00003 *  Name         : BrCtlSampleAppDocument.h
00004 *  Part of      : BrCtlSampleApp
00005 *  Interface    : Browser Control API
00006 *  Description  : Declares document for application.
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 BRCTLSAMPLEAPPDOCUMENT_H
00017 #define BRCTLSAMPLEAPPDOCUMENT_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 *  CBrCtlSampleAppDocument application class.
00031 */
00032 class CBrCtlSampleAppDocument : public CAknDocument
00033     {
00034     public: // Constructors and destructor
00035         /**
00036         * Two-phased constructor.
00037         */
00038         static CBrCtlSampleAppDocument* NewL(CEikApplication& aApp);
00039 
00040         /**
00041         * Destructor.
00042         */
00043         virtual ~CBrCtlSampleAppDocument();
00044 
00045     public: // New functions
00046 
00047     protected:  // New functions
00048 
00049     protected:  // Functions from base classes
00050 
00051     private:
00052 
00053         /**
00054         * EPOC default constructor.
00055         */
00056         CBrCtlSampleAppDocument(CEikApplication& aApp);
00057         void ConstructL();
00058 
00059     private:
00060 
00061         /**
00062         * From CEikDocument, create CBrCtlSampleAppAppUi "App UI" object.
00063         */
00064         CEikAppUi* CreateAppUiL();
00065     };
00066 
00067 #endif
00068 
00069 // End of File
00070 

© Nokia 2006

Back to top