localisation/apparchitecture/tef/t_winchainLaunch.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 // Copyright (c) 2005-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 the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // The class definitions for the simple test application
       
    15 // which launches the child application with window chaining
       
    16 // The class definitions are:
       
    17 // CChainLaunchApplication 
       
    18 // CChainLaunchAppUi
       
    19 // CChainLaunchDocument
       
    20 // 
       
    21 //
       
    22 
       
    23 
       
    24 
       
    25 /**
       
    26  @file
       
    27  @internalComponent - Internal Symbian test code 
       
    28 */
       
    29 
       
    30 #ifndef __T_WINCHAINLAUNCH_H
       
    31 #define __T_WINCHAINLAUNCH_H
       
    32 
       
    33 #include <coeccntx.h>
       
    34 
       
    35 #include <eikenv.h>
       
    36 #include <eikappui.h>
       
    37 #include <eikapp.h>
       
    38 #include <eikdoc.h>
       
    39 #include <eikmenup.h>
       
    40 #include <eikstart.h> ////TKAS added for exe-app
       
    41 
       
    42 #include <eikserverapp.h> // REikAppServiceBase
       
    43 #include <eikon.hrh>
       
    44 
       
    45 //  Test stuff
       
    46 #include "twindowchaining.h"
       
    47 
       
    48 class CPackagerAppUi;
       
    49 	
       
    50 ////////////////////////////////////////////////////////////////////////
       
    51 //
       
    52 // CChainLaunchApplication
       
    53 //
       
    54 ////////////////////////////////////////////////////////////////////////
       
    55 
       
    56 class CChainLaunchApplication : public CEikApplication
       
    57 	{
       
    58 private: 
       
    59 	// Inherited from class CApaApplication
       
    60 	CApaDocument* CreateDocumentL();
       
    61 	TUid AppDllUid() const;
       
    62 	TFileName BitmapStoreName() const;
       
    63 	};
       
    64 
       
    65 
       
    66 ////////////////////////////////////////////////////////////////////////
       
    67 //
       
    68 // CChainLaunchAppUi
       
    69 //
       
    70 ////////////////////////////////////////////////////////////////////////
       
    71 class CChainLaunchAppUi : public CEikAppUi, REikAppServiceBase
       
    72     {
       
    73 public:
       
    74 	CChainLaunchAppUi() :
       
    75 	   CEikAppUi()  
       
    76 		{
       
    77 		}
       
    78     void ConstructL();
       
    79 	~CChainLaunchAppUi();
       
    80 	virtual void RunTestStepL(TInt aNextStep); 
       
    81 	
       
    82 private:
       
    83 	// from RApaAppServiceBase
       
    84 	TUid ServiceUid() const; 
       
    85 	
       
    86 	
       
    87 private:
       
    88 	
       
    89 	CCoeControl* iAppView;
       
    90 
       
    91 	};
       
    92 
       
    93 
       
    94 ////////////////////////////////////////////////////////////////////////
       
    95 //
       
    96 // CChainLaunchDocument
       
    97 //
       
    98 ////////////////////////////////////////////////////////////////////////
       
    99 class CChainLaunchDocument : public CEikDocument
       
   100 	{
       
   101 public:
       
   102 	static CChainLaunchDocument* NewL(CEikApplication& aApp);
       
   103 	CChainLaunchDocument(CEikApplication& aApp);
       
   104 	void ConstructL();
       
   105 private: 
       
   106 	// Inherited from CEikDocument
       
   107 	CEikAppUi* CreateAppUiL();
       
   108 	};
       
   109 
       
   110 
       
   111 #endif // T_WINCHAINLAUNCH