stifui/uitestserverstarter/src/UITestServerStarterApplication.cpp
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 module contains the implementation of 
       
    15 * CUITestServerStarterApplication class member functions.
       
    16 *
       
    17 */
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "UITestServerStarter.hrh"
       
    21 #include "UITestServerStarterDocument.h"
       
    22 #include "UITestServerStarterApplication.h"
       
    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: CUITestServerStarterApplication
       
    55 
       
    56      Method: CreateDocumentL 
       
    57 
       
    58      Creates CUITestServerStarterDocument document object.
       
    59 
       
    60 	 Creates CUITestServerStarterDocument document object. The returned
       
    61 	 pointer in not owned by the CUITestServerStarterApplication object.
       
    62 
       
    63      Parameters: None
       
    64      
       
    65      Return Values: A pointer to the created document object.
       
    66 
       
    67      Errors/Exceptions: None.
       
    68 
       
    69      Status: Draft
       
    70     
       
    71 -------------------------------------------------------------------------------
       
    72 */
       
    73 CApaDocument* CUITestServerStarterApplication::CreateDocumentL ()
       
    74 	{
       
    75 	return (static_cast<CApaDocument*> (CUITestServerStarterDocument::NewL ( *this) ) );
       
    76 	}
       
    77 
       
    78 /*
       
    79 -------------------------------------------------------------------------------
       
    80 
       
    81      Class: CUITestServerStarterApplication
       
    82 
       
    83      Method: AppDllUid
       
    84 
       
    85      Gets application Uid
       
    86 
       
    87 	 Gets application Uid
       
    88 
       
    89      Parameters: None
       
    90      
       
    91      Return Values: Application Uid.
       
    92 
       
    93      Errors/Exceptions: None.
       
    94 
       
    95      Status: Draft
       
    96     
       
    97 -------------------------------------------------------------------------------
       
    98 */
       
    99 TUid CUITestServerStarterApplication::AppDllUid() const
       
   100 	{
       
   101 	return KUidUITestServerStarterApp;
       
   102 	}
       
   103 
       
   104 /*
       
   105 -------------------------------------------------------------------------------
       
   106 
       
   107      Class: PreDocConstructL
       
   108 
       
   109      Method: AppDllUid
       
   110 
       
   111      Preconstructs document.
       
   112 
       
   113      Preconstructs document.
       
   114 
       
   115      Parameters: None
       
   116      
       
   117      Return Values: None
       
   118 
       
   119      Errors/Exceptions: None.
       
   120 
       
   121      Status: Draft
       
   122     
       
   123 -------------------------------------------------------------------------------
       
   124 */
       
   125 void CUITestServerStarterApplication::PreDocConstructL()
       
   126 	{
       
   127 	// This call allow us to run multiple instances of UI application in same time.
       
   128 	CEikApplication::PreDocConstructL();
       
   129 	}
       
   130 
       
   131 // End of File