stifui/avkon/uitestserverstarter/src/UITestServerStarterDocument.cpp
branchRCL_3
changeset 18 48060abbbeaf
parent 17 d40e813b23c0
child 19 b3cee849fa46
equal deleted inserted replaced
17:d40e813b23c0 18:48060abbbeaf
     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 module contains the implementation of 
       
    15 * CUITestServerStarterDocument class member functions.
       
    16 *
       
    17 */
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "UITestServerStarterAppUi.h"
       
    21 #include "UITestServerStarterDocument.h"
       
    22 
       
    23 
       
    24 // EXTERNAL DATA STRUCTURES
       
    25 // None
       
    26 
       
    27 // EXTERNAL FUNCTION PROTOTYPES  
       
    28 // None
       
    29 
       
    30 // CONSTANTS
       
    31 // None
       
    32 
       
    33 // MACROS
       
    34 // None
       
    35 
       
    36 // LOCAL CONSTANTS AND MACROS
       
    37 // None
       
    38 
       
    39 // MODULE DATA STRUCTURES
       
    40 // None
       
    41 
       
    42 // LOCAL FUNCTION PROTOTYPES
       
    43 // None
       
    44 
       
    45 // FORWARD DECLARATIONS
       
    46 // None
       
    47 
       
    48 
       
    49 // ================= MEMBER FUNCTIONS =========================================
       
    50 
       
    51 /*
       
    52 -------------------------------------------------------------------------------
       
    53 
       
    54      Class: CUITestServerStarterDocument
       
    55 
       
    56      Method: NewL
       
    57 
       
    58      Description: NewL is first phase of two-phased constructor.
       
    59 
       
    60      NewL is first phase of two-phased constructor.
       
    61 
       
    62      Parameters: CEikApplication& aApp: in: Reference to application..
       
    63      
       
    64      Return Values: Pointer to new CUITestServerStarterDocument object.
       
    65 
       
    66      Errors/Exceptions: Leave if one of the called functions leaves.
       
    67 
       
    68      Status: Draft
       
    69     
       
    70 -------------------------------------------------------------------------------
       
    71 */
       
    72 CUITestServerStarterDocument* CUITestServerStarterDocument::NewL( CEikApplication& aApp )
       
    73 	{
       
    74 	CUITestServerStarterDocument* self = NewLC (aApp);
       
    75 	CleanupStack::Pop (self);
       
    76 	return self;
       
    77 	}
       
    78 
       
    79 /*
       
    80 -------------------------------------------------------------------------------
       
    81 
       
    82      Class: CUITestServerStarterDocument
       
    83 
       
    84      Method: NewLC
       
    85 
       
    86      Description: NewL is first phase of two-phased constructor.
       
    87 
       
    88      NewL is first phase of two-phased constructor.
       
    89 
       
    90      Parameters: CEikApplication& aApp: in: Reference to application.
       
    91      
       
    92      Return Values: Pointer to new CUITestServerStarterDocument object.
       
    93 
       
    94      Errors/Exceptions: Leave if one of the called functions leaves.
       
    95 
       
    96      Status: Draft
       
    97     
       
    98 -------------------------------------------------------------------------------
       
    99 */
       
   100 CUITestServerStarterDocument* CUITestServerStarterDocument::NewLC (CEikApplication& aApp)
       
   101 	{
       
   102 	CUITestServerStarterDocument* self = new ( ELeave ) CUITestServerStarterDocument( aApp );
       
   103 
       
   104 	CleanupStack::PushL (self);
       
   105 	self->ConstructL ();
       
   106 	return self;
       
   107 	}
       
   108 
       
   109 /*
       
   110 -------------------------------------------------------------------------------
       
   111 
       
   112      Class: CUITestServerStarterDocument
       
   113 
       
   114      Method: ConstructL
       
   115 
       
   116      Description: This is second phase of two-phased constructor.
       
   117 
       
   118      This is second phase of two-phased constructor.
       
   119 
       
   120      Parameters: None.
       
   121      
       
   122      Return Values: None.
       
   123 
       
   124      Errors/Exceptions: None.
       
   125 
       
   126      Status: Draft
       
   127     
       
   128 -------------------------------------------------------------------------------
       
   129 */
       
   130 void CUITestServerStarterDocument::ConstructL()
       
   131 	{
       
   132 	// No implementation required
       
   133 	}
       
   134 
       
   135 /*
       
   136 -------------------------------------------------------------------------------
       
   137 
       
   138      Class: CUITestServerStarterDocument
       
   139 
       
   140      Method: CUITestServerStarterDocument
       
   141 
       
   142      Description: Constructor.
       
   143 
       
   144      Constructor.
       
   145 
       
   146      Parameters: None.
       
   147      
       
   148      Return Values: None.
       
   149 
       
   150      Errors/Exceptions: None.
       
   151 
       
   152      Status: Draft
       
   153     
       
   154 -------------------------------------------------------------------------------
       
   155 */
       
   156 CUITestServerStarterDocument::CUITestServerStarterDocument( CEikApplication& aApp ) :
       
   157 	CAknDocument(aApp)
       
   158 	{
       
   159 	// No implementation required
       
   160 	}
       
   161 
       
   162 /*
       
   163 -------------------------------------------------------------------------------
       
   164 
       
   165      Class: CUITestServerStarterDocument
       
   166 
       
   167      Method: ~CUITestServerStarterDocument
       
   168 
       
   169      Description: Destructor.
       
   170 
       
   171      Destructor.
       
   172 
       
   173      Parameters: None.
       
   174      
       
   175      Return Values: None.
       
   176 
       
   177      Errors/Exceptions: None.
       
   178 
       
   179      Status: Draft
       
   180     
       
   181 -------------------------------------------------------------------------------
       
   182 */
       
   183 CUITestServerStarterDocument::~CUITestServerStarterDocument ()
       
   184 	{
       
   185 	// No implementation required
       
   186 	}
       
   187 
       
   188 /*
       
   189 -------------------------------------------------------------------------------
       
   190 
       
   191      Class: CUITestServerStarterDocument
       
   192 
       
   193      Method: CreateAppUiL
       
   194 
       
   195      Description: Creates AppUi object.
       
   196 
       
   197      Creates AppUi object.
       
   198 
       
   199      Parameters: None.
       
   200      
       
   201      Return Values: Pointer to AppUi object.
       
   202 
       
   203      Errors/Exceptions: None.
       
   204 
       
   205      Status: Draft
       
   206     
       
   207 -------------------------------------------------------------------------------
       
   208 */
       
   209 CEikAppUi* CUITestServerStarterDocument::CreateAppUiL ()
       
   210 	{
       
   211 	return ( static_cast <CEikAppUi*>( new ( ELeave ) CUITestServerStarterAppUi ) );
       
   212 	}
       
   213 
       
   214 // End of File