|
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 * CPdsnClientServiceStub -- this class is the 'glue' between a standardised |
|
16 * UCCS interface (IService) and the custom service interface. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #ifndef __CPPPCONTROLLERSTUB_H__ |
|
24 #define __CPPPCONTROLLERSTUB_H__ |
|
25 |
|
26 |
|
27 /******************************************************************************* |
|
28 * |
|
29 * Local Includes |
|
30 * |
|
31 ******************************************************************************/ |
|
32 #include "../../Core/UCCS_Interfaces.h" |
|
33 #include "../CommonServiceStub/CServiceAgentBase.h" |
|
34 |
|
35 |
|
36 /******************************************************************************* |
|
37 * |
|
38 * Forward declaration. |
|
39 * |
|
40 ******************************************************************************/ |
|
41 class CCPppcontroller; |
|
42 |
|
43 |
|
44 /******************************************************************************* |
|
45 * |
|
46 * CPppControllerServiceStub |
|
47 * |
|
48 ******************************************************************************/ |
|
49 class CPppControllerServiceStub : public IService, public CServiceAgentBase |
|
50 { |
|
51 public: |
|
52 CPppControllerServiceStub(); |
|
53 ~CPppControllerServiceStub(); |
|
54 |
|
55 int StartUccsService( char *aHostName, int *aErrorCode, int *aUnused ); |
|
56 int StopUccsService( int *aErrorCode, int *aUnused ); |
|
57 CDataRecord* IssueCommand( CDataRecord* aCommand ); |
|
58 int GetStatus(); |
|
59 char *GetLastRPCError( int *aIntError ); |
|
60 |
|
61 private: |
|
62 CCPppcontroller *iClientPppController; |
|
63 }; |
|
64 |
|
65 #endif //__CPPPCONTROLLERSTUB_H__ |