testexecmgmt/ucc/Source/Uccs.v2/ServiceStubs/Test/CTestStub.h
changeset 0 3da2a79470a7
equal deleted inserted replaced
-1:000000000000 0:3da2a79470a7
       
     1 /*
       
     2 * Copyright (c) 2005-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:  
       
    15 * Filename: CTestStub.h
       
    16 * This class is a simple stub application which is used primarily
       
    17 * for the UCCS.  It does not do anything complicated and hence is good for 
       
    18 * isolating the upper levels of the system.
       
    19 *
       
    20 */
       
    21 
       
    22 
       
    23 
       
    24 #ifndef __CTESTSTUB_H__
       
    25 #define __CTESTSTUB_H__
       
    26 
       
    27 
       
    28 /*******************************************************************************
       
    29  *
       
    30  * Local Includes
       
    31  *
       
    32  ******************************************************************************/
       
    33 #include "../../Core/UCCS_Interfaces.h"
       
    34 #include "../CommonServiceStub/CServiceAgentBase.h"
       
    35 
       
    36 /*******************************************************************************
       
    37  *
       
    38  * CTestStub
       
    39  *
       
    40  ******************************************************************************/
       
    41 class CTestStub : public IService, public CServiceAgentBase
       
    42 {
       
    43 public:
       
    44 	CTestStub();
       
    45 	~CTestStub();
       
    46 
       
    47 	int StartUccsService( char *aHostName, int *aLocalError, int *aRemoteError );
       
    48 	int StopUccsService( int *aLocalerror, int *aRemoteError );
       
    49 	CDataRecord* IssueCommand(CDataRecord* aCommand);
       
    50 	int GetStatus();
       
    51 	char *GetLastRPCError( int *aIntError );
       
    52 };
       
    53 
       
    54 #endif __CTESTSTUB_H__