multimediacommsengine/tsrc/testdriver/testclient/ui/src/CTcDocument.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004 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:  See class definition below.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CTCDOCUMENT_H__
       
    19 #define __CTCDOCUMENT_H__
       
    20 
       
    21 // INCLUDES
       
    22 #include <eikdoc.h>
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class CEikApplication;
       
    26 class CTcAppUi;
       
    27 
       
    28 // CLASS DEFINITION
       
    29 /**
       
    30  * CTcDocument implements the Document class required
       
    31  * by the Application Framework.
       
    32  * Its main task is to create the application UI.
       
    33  */
       
    34 class CTcDocument
       
    35 	: public CEikDocument
       
    36 	{
       
    37 	public:	// Constructors and destructor
       
    38 
       
    39 		/**
       
    40 		 * Static constructor.
       
    41 		 * @param aApp Reference to the application object creating
       
    42 		 *			   this document.
       
    43 		 * @return An initialized instance of this class
       
    44 		 */
       
    45 		static CTcDocument* NewL( CEikApplication& aApp );
       
    46 
       
    47 		/// Destructor
       
    48 		~CTcDocument();
       
    49 
       
    50 	private: // Constructors and destructor
       
    51 
       
    52 		/**
       
    53 		 * Constructor.
       
    54 		 * @param aApp Reference to the application object creating
       
    55 		 *			   this document.
       
    56 		 */
       
    57 		CTcDocument( CEikApplication& aApp );
       
    58 
       
    59 		/// Default constructor. Not implemented.
       
    60 		CTcDocument();
       
    61 
       
    62 		/// 2nd phase constructor
       
    63 		void ConstructL();
       
    64 
       
    65 	public: // from CEikDocument
       
    66 
       
    67 		CEikAppUi* CreateAppUiL();
       
    68 
       
    69 	};
       
    70 
       
    71 #endif // __CTCDOCUMENT_H__