idlehomescreen/xmluicontroller/inc/document.h
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Document
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_DOCUMENT_H
       
    20 #define C_DOCUMENT_H
       
    21 
       
    22 #include "xndocument.h"
       
    23 
       
    24 namespace AiXmlUiController
       
    25 {
       
    26     
       
    27 class CXmlUiController;
       
    28 
       
    29 /**
       
    30  *  @ingroup group_xmluicontroller
       
    31  * 
       
    32  * Document class of XML UI Controller application. 
       
    33  *
       
    34  * @lib AiXmlUiMain
       
    35  */
       
    36 class CDocument : public CXnDocument
       
    37     {
       
    38     
       
    39 public:   // Constructors and destructor
       
    40 
       
    41     static CDocument* NewL(CEikApplication &aApp, CXmlUiController& aUiCtl);
       
    42 
       
    43     virtual ~CDocument();
       
    44 
       
    45 public:  // Functions from CXnDocument
       
    46 
       
    47     CEikAppUi* CreateAppUiL();
       
    48 
       
    49 private:
       
    50 
       
    51     CDocument(CEikApplication &aApp, CXmlUiController& aUiCtl);
       
    52 
       
    53 private:     // Data
       
    54 
       
    55     CXmlUiController& iUiCtl;
       
    56 
       
    57     };
       
    58 
       
    59 } // namespace AiXmlUiController
       
    60     
       
    61 #endif  // C_DOCUMENT_H
       
    62 
       
    63 // End of File.