testexecmgmt/ucc/Source/Uccs.v2/ServiceStubs/Internal/CInternalStub.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 * CInternalStub -- this class is the 'glue' between a standardised
       
    16 * UCCS interface (IService) and the custom service interface.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __CINTERNALSTUB_H__
       
    22 #define __CINTERNALSTUB_H__
       
    23 
       
    24 
       
    25 /*******************************************************************************
       
    26  *
       
    27  * Local Includes
       
    28  *
       
    29  ******************************************************************************/
       
    30 #include "..\..\Core\UCCS_Interfaces.h"
       
    31 #include "..\CommonServiceStub\CServiceAgentBase.h"
       
    32 
       
    33 /*******************************************************************************
       
    34  *
       
    35  * CMobsterServiceStub
       
    36  *
       
    37  ******************************************************************************/
       
    38 class CInternalStub : public IService, public CServiceAgentBase
       
    39 {
       
    40 public:
       
    41 	CInternalStub();
       
    42 	~CInternalStub();
       
    43 
       
    44 	int StartUccsService( char *aHostName, int *aLocalError, int *aRemoteError );
       
    45 	int StopUccsService( int *aLocalerror, int *aRemoteError );
       
    46 	CDataRecord* IssueCommand(CDataRecord* aCommand);
       
    47 	int GetStatus();
       
    48 };
       
    49 
       
    50 #endif //__CINTERNALSTUB_H__