testexecmgmt/ucc/GenericService/inc/CSGenericstub.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 * This file was autogenerated by rpcgen, but should be modified by the developer.
       
    16 * Make sure you don't use the -component_mod flag in future or this file will be overwritten.
       
    17 * Tue Nov 16 15:19:57 2004
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 #ifndef __CSGENERICSTUB_H__
       
    24 #define __CSGENERICSTUB_H__
       
    25 
       
    26 /****************************************************************************************
       
    27  * 
       
    28  * Local Includes
       
    29  * 
       
    30  ***************************************************************************************/
       
    31 #include "GenericStub.h"
       
    32 #include "CService.h"
       
    33 
       
    34 /****************************************************************************************
       
    35  * 
       
    36  * Definition: CSGenericstub
       
    37  * 
       
    38  ***************************************************************************************/
       
    39 class CSGenericstub
       
    40 {
       
    41 public:
       
    42 	// Standard Methods
       
    43 	CSGenericstub();
       
    44 	~CSGenericstub();
       
    45 	int GetKey();
       
    46 	void SetKey( int aKey );
       
    47 
       
    48 	// RPC Service Methods
       
    49 	int cstr_startprocess( char *aArgs );
       
    50 	int dstr_removeprocess( int aArgs, int *aDeleteInstance );
       
    51 	int run_command( TCall aArgs );
       
    52 
       
    53 	// Setup the service (if required)
       
    54 	bool Setup();
       
    55 
       
    56 private:
       
    57 	int			iKey;
       
    58 	CService*	iService;
       
    59 };
       
    60 
       
    61 #endif