bluetoothengine/btui/inc/BTUIDocument.h
branchRCL_3
changeset 56 9386f31cc85b
parent 0 f63038272f30
equal deleted inserted replaced
55:613943a21004 56:9386f31cc85b
       
     1 /*
       
     2 * Copyright (c) 2002-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 BTUIDOCUMENT_H
       
    20 #define BTUIDOCUMENT_H
       
    21 
       
    22 // INCLUDES
       
    23 
       
    24 #include <AknDoc.h>
       
    25 #include <aknapp.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 
       
    29 class CEikAppUi;
       
    30 //class CBTUIModel;
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 *  This class is a base class mandatory for all Symbian OS UI applications.
       
    36 */
       
    37 class CBTUIDocument : public CAknDocument
       
    38     {
       
    39     public: // Constructors and destructor
       
    40 
       
    41 		/**
       
    42         * Two-phased constructor.
       
    43         */
       
    44         static CBTUIDocument* NewL(CAknApplication& aApp);
       
    45 
       
    46 		/**
       
    47         * Destructor.
       
    48         */
       
    49         virtual ~CBTUIDocument();
       
    50 
       
    51 	private: // Functions from base classes
       
    52 
       
    53 		/**
       
    54         * From CAknDocument Creates AppUi class.        
       
    55         * @param None.
       
    56         * @return A reference to created class.
       
    57         */
       
    58 		CEikAppUi*  CreateAppUiL();
       
    59 
       
    60     private:
       
    61 
       
    62 		/**
       
    63         * C++ default constructor.
       
    64         */
       
    65         CBTUIDocument(CEikApplication& aApp) :CAknDocument(aApp) { }
       
    66 
       
    67 		/**
       
    68         * By default Symbian 2nd phase constructor is private.
       
    69         */
       
    70         void ConstructL();
       
    71     };
       
    72 
       
    73 #endif
       
    74