stifui/uitestserverstarter/inc/UITestServerStarterAppContainer.h
branchRCL_3
changeset 9 404ad6c9bc20
parent 8 87e9ebfbe96a
child 11 454d022d514b
equal deleted inserted replaced
8:87e9ebfbe96a 9:404ad6c9bc20
     1 /*
       
     2 * Copyright (c) 2009 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: This file contains the header file of the 
       
    15 * UITestServerStarter AppUi container class.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef UITESTSERVERSTARTERAPPCONTAINER_H_
       
    20 #define UITESTSERVERSTARTERAPPCONTAINER_H_
       
    21 
       
    22 //  INCLUDES
       
    23 #include <coecntrl.h>
       
    24 #include <coemop.h>
       
    25 
       
    26 
       
    27 // CONSTANTS
       
    28 // None
       
    29 
       
    30 // MACROS
       
    31 // None
       
    32 
       
    33 // DATA TYPES
       
    34 // None
       
    35 
       
    36 // FUNCTION PROTOTYPES
       
    37 // None
       
    38 
       
    39 // FORWARD DECLARATIONS
       
    40 class CAknsBasicBackgroundControlContext;
       
    41 
       
    42 // CLASS DECLARATION
       
    43 
       
    44 // DESCRIPTION
       
    45 // UITestServerStarter standard AppUi container class.
       
    46 class CUITestServerStarterAppContainer: public CCoeControl
       
    47 	{
       
    48 	public: // Enumerations
       
    49 	    // None
       
    50 	
       
    51 	private: // Enumerations
       
    52 	    // None
       
    53 	
       
    54 	public:  // Constructors and destructor
       
    55 		/**
       
    56 		 * Virtual Destructor.
       
    57 		 */
       
    58 		~CUITestServerStarterAppContainer();
       
    59 
       
    60 	private:  // Constructors and destructor
       
    61 		/**
       
    62 		 * C++ default constructor.
       
    63 		 */
       
    64 		CUITestServerStarterAppContainer();
       
    65 
       
    66 		/**
       
    67 		 * Perform the second phase construction of a
       
    68 		 * CUITestServerStarterAppView object.
       
    69 		 */
       
    70 		void ConstructL( const TRect& aRect );
       
    71 		
       
    72 	public: // New functions
       
    73 		/**
       
    74 		 * Two-phased constructor.
       
    75 		 * Create a CUITestServerStarterAppContainer object, which will draw itself to aRect.
       
    76 		 */
       
    77 		static CUITestServerStarterAppContainer* NewL( const TRect& aRect );
       
    78 
       
    79 		/**
       
    80 		* Two-phased constructor.
       
    81 		* Create a CUITestServerStarterAppContainer object, which will draw itself
       
    82 		*/
       
    83 		static CUITestServerStarterAppContainer* NewLC( const TRect& aRect );
       
    84 
       
    85 		
       
    86 		/**
       
    87 		 * This function is used to allow controls to ask their owners 
       
    88 		 * for access to other objects that they own
       
    89 		 */
       
    90 		TTypeUid::Ptr MopSupplyObject( TTypeUid aId );
       
    91 	public: // Functions from base classes
       
    92 		// None
       
    93 	
       
    94     protected:	// New functions
       
    95         // None
       
    96         
       
    97     protected:	// Functions from base classes
       
    98         // None
       
    99         
       
   100     private:	// New functions
       
   101     	// None
       
   102 
       
   103     private:	// Functions from base classes
       
   104     
       
   105     	/**
       
   106     	 * Draws the control
       
   107     	 */
       
   108         void Draw( const TRect& aRect ) const;
       
   109         
       
   110         /**
       
   111          * Responds to changes to the size and position of the 
       
   112          * contents of this control
       
   113          */
       
   114         void SizeChanged();
       
   115     
       
   116         //void HandleResourceChange( TInt aType );
       
   117 	public:		//Data
       
   118 	    // None
       
   119         
       
   120 	protected:	// Data
       
   121         // None
       
   122         
       
   123     private:	// Data
       
   124     	CAknsBasicBackgroundControlContext* iBgContext; // Skin background object context pointer
       
   125 		
       
   126     public:		// Friend classes
       
   127         // None
       
   128 
       
   129     protected:	// Friend classes
       
   130         // None
       
   131 
       
   132     private:	// Friend classes
       
   133         // None
       
   134 	};
       
   135 
       
   136 #endif /*UITESTSERVERSTARTERAPPCONTAINER_H_*/
       
   137 
       
   138 // End of File