idlehomescreen/nativeuicontroller/inc/document.h
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2007-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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_DOCUMENT_H
       
    20 #define C_DOCUMENT_H
       
    21 
       
    22 #include <AknDoc.h> 
       
    23 #include <aknapp.h>
       
    24 #include <aknappui.h>
       
    25 
       
    26 namespace AiNativeUiController
       
    27 {
       
    28     
       
    29 class CNativeUiController;
       
    30 
       
    31 /**
       
    32  * Document class of Native UI Controller application. 
       
    33  *
       
    34  * @lib ainatiui.lib
       
    35  * @since S60 3.2
       
    36  */
       
    37 class CDocument : public CAknDocument
       
    38     {
       
    39 public:
       
    40     
       
    41 // Constructors and destructor
       
    42 
       
    43     static CDocument* NewL(CAknApplication &aApp, CNativeUiController* aUiCtl);
       
    44 
       
    45     virtual ~CDocument();
       
    46 
       
    47 // Functions from CAknDocument
       
    48 
       
    49     CAknAppUi* CreateAppUiL();
       
    50 
       
    51 private:
       
    52 
       
    53     CDocument(CEikApplication &aApp, CNativeUiController* aUiCtl);
       
    54 
       
    55 private:     // Data
       
    56 
       
    57     CNativeUiController* iUiCtl;
       
    58 
       
    59     };
       
    60 
       
    61 } // namespace AiNativeUiController
       
    62     
       
    63 #endif  // C_DOCUMENT_H
       
    64 
       
    65 // End of File.