equal
deleted
inserted
replaced
|
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 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __CGENERICSTUB_H__ |
|
22 #define __CGENERICSTUB_H__ |
|
23 |
|
24 #include "../../Core/UCCS_Interfaces.h" |
|
25 #include "../CommonServiceStub/CServiceAgentBase.h" |
|
26 #include "CUCCIniFile.h" |
|
27 |
|
28 #define MAXINIFILEPATH 1024 |
|
29 |
|
30 class CCGenericstub; |
|
31 |
|
32 class CGenericStub : public IService, public CServiceAgentBase |
|
33 { |
|
34 public: |
|
35 CGenericStub( char* aIniFile, char* aServiceName ); |
|
36 ~CGenericStub(); |
|
37 |
|
38 int StartUccsService( char *aHostName, int* aLocalErr, int* aRemoteErr ); |
|
39 int StopUccsService(int* aLocalErr, int* aRemoteErr ); |
|
40 CDataRecord* IssueCommand(CDataRecord* aCommand); |
|
41 int GetStatus(); |
|
42 char *GetLastRPCError( int *aIntError ); |
|
43 |
|
44 private: |
|
45 CCGenericstub* iGenericStub; |
|
46 CUCCIniFile* iIniFile; |
|
47 }; |
|
48 |
|
49 #endif //__CGENERICSTUB_H__ |