Nokia N97 SDK
Example Applications Guide

DynamicSettingListDocument.h

00001 /*
00002 * ============================================================================
00003 *  Name     : CDynamicSettingListDocument from DynamicSettingListDocument.cpp
00004 *  Part of  : Dynamic Setting List
00005 *  Created  : 09/21/2005 by Forum Nokia
00006 *  Version  : 1.0
00007 *
00008 *  Copyright (c) 2005 - 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 __DYNAMICSETTINGLIST_DOCUMENT_H__
00016 #define __DYNAMICSETTINGLIST_DOCUMENT_H__
00017 
00018 // INCLUDE FILES
00019 #include <akndoc.h>
00020 
00021 // FORWARD DECLARATIONS
00022 class CDynamicSettingListAppUi;
00023 class CEikApplication;
00024 
00025 
00026 // CLASS DECLARATION
00027 
00028 /**
00029 *  CDynamicSettingListDocument document class.
00030 */
00031 class CDynamicSettingListDocument : public CAknDocument
00032     {
00033 public: // Constructors and destructor
00034 
00035         /**
00036         * Two-phased constructor.
00037         */
00038     static CDynamicSettingListDocument* NewL(CEikApplication& aApp);
00039 
00040         /**
00041         * Two-phased constructor.
00042         */
00043         static CDynamicSettingListDocument* NewLC(CEikApplication& aApp);
00044 
00045         /**
00046         * Destructor.
00047         */
00048     ~CDynamicSettingListDocument();
00049 
00050 private: // Functions from base classes
00051 
00052     /**
00053     * From CEikDocument, create CDynamicSettingListAppUi "App UI" object.
00054     */
00055     CEikAppUi* CreateAppUiL();
00056 
00057 private:
00058 
00059         /**
00060         * Symbian OS default constructor.
00061         */
00062     void ConstructL();
00063     CDynamicSettingListDocument(CEikApplication& aApp);
00064 
00065     };
00066 
00067 
00068 #endif // __DYNAMICSETTINGLIST_DOCUMENT_H__
00069 
00070 // End of file

© Nokia 2009

Back to top