commonuisupport/uikon/test/teikenv/tcaptiontest/tcaptiontest.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code
       
    20 */
       
    21 
       
    22 #ifndef TTESTAPP_H_
       
    23 #define TTESTAPP_H_
       
    24 
       
    25 #include <eikappui.h>
       
    26 #include <eikapp.h>
       
    27 #include <eikdoc.h>
       
    28 #include <eikenv.h>
       
    29 #include <apgcli.h>
       
    30 #include <eikon.mbg>
       
    31 
       
    32 #include <test/testexecutestepbase.h>
       
    33 #include "appfwk_test_AppUi.h"
       
    34 
       
    35 const TUid KUidNameTest = {0xA000120E};
       
    36 //
       
    37 //
       
    38 // CNameTestAppUi
       
    39 //
       
    40 //
       
    41 class CNameTestAppUi : public CTestAppUi //CEikAppUi
       
    42     {
       
    43 public:
       
    44 	CNameTestAppUi();
       
    45     void ConstructL();
       
    46 	~CNameTestAppUi();
       
    47 private: 
       
    48 	void RunTestStepL(TInt aNumStep);
       
    49 	// from CEikAppUi
       
    50 	void HandleCommandL(TInt aCommand);
       
    51 	};
       
    52 
       
    53 
       
    54 //
       
    55 //
       
    56 // CNameTestDocument
       
    57 //
       
    58 //
       
    59 class CNameTestDocument : public CEikDocument
       
    60 	{
       
    61 public:
       
    62 	static CNameTestDocument* NewL(CEikApplication& aApp);
       
    63 	CNameTestDocument(CEikApplication& aApp);
       
    64 	void ConstructL();
       
    65 
       
    66 private: 
       
    67 	// Inherited from CEikDocument
       
    68 	CEikAppUi* CreateAppUiL();
       
    69 	};
       
    70 	
       
    71 
       
    72 //
       
    73 //
       
    74 // CNameTestApplication
       
    75 //
       
    76 //
       
    77 class CNameTestApplication : public CEikApplication
       
    78 	{
       
    79 private: 
       
    80 	// Inherited from class CApaApplication
       
    81 	CApaDocument* CreateDocumentL();
       
    82 	TUid AppDllUid() const;
       
    83 
       
    84 private:
       
    85 	CApaDocument* CreateDocumentL(CApaProcess* a) { return CEikApplication::CreateDocumentL(a); }
       
    86 	};
       
    87 
       
    88 #endif /*TESTAPP_H_*/
       
    89 
       
    90