0
|
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 |
* Thu Oct 16 14:41:55 2003
|
|
18 |
*
|
|
19 |
*/
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
#ifndef __CSHOSTEXECUTEASYNC_H__
|
|
25 |
#define __CSHOSTEXECUTEASYNC_H__
|
|
26 |
|
|
27 |
|
|
28 |
/****************************************************************************************
|
|
29 |
*
|
|
30 |
* Local Includes
|
|
31 |
*
|
|
32 |
***************************************************************************************/
|
|
33 |
#include "hostexecuteasync.h"
|
|
34 |
#include "../ProcessLibrary/proclib.h"
|
|
35 |
|
|
36 |
|
|
37 |
/****************************************************************************************
|
|
38 |
*
|
|
39 |
* Definition: CSHostexecuteasync
|
|
40 |
*
|
|
41 |
***************************************************************************************/
|
|
42 |
class CSHostexecuteasync
|
|
43 |
{
|
|
44 |
public:
|
|
45 |
// Standard Methods
|
|
46 |
CSHostexecuteasync();
|
|
47 |
~CSHostexecuteasync();
|
|
48 |
int GetKey();
|
|
49 |
void SetKey( int aKey );
|
|
50 |
|
|
51 |
// RPC Service Methods
|
|
52 |
TResult cstr_startprocess( char *aArgs );
|
|
53 |
TResult dstr_removeprocess( int aArgs, int *aDeleteInstance );
|
|
54 |
TResult killprocess( int aArgs );
|
|
55 |
TResult stopprocess( int aArgs );
|
|
56 |
THostExecuteAsyncProcessInfo getprocessinfo( int aArgs );
|
|
57 |
TVarData getstandardoutput( int aArgs );
|
|
58 |
TVarData getstandarderror( int aArgs );
|
|
59 |
|
|
60 |
private:
|
|
61 |
int iKey;
|
|
62 |
CAProcess *iProcess;
|
|
63 |
TResult StopProcessWithSignal( int aSignal );
|
|
64 |
};
|
|
65 |
|
|
66 |
#endif
|