equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: Client side interface to HtiIPCommServer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __HTIIPCOMMSERVERCLIENT_H__ |
|
20 #define __HTIIPCOMMSERVERCLIENT_H__ |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 |
|
25 // CONSTANTS |
|
26 |
|
27 // MACROS |
|
28 |
|
29 // DATA TYPES |
|
30 |
|
31 // FUNCTION PROTOTYPES |
|
32 |
|
33 // FORWARD DECLARATIONS |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 class RHtiIPCommServer : public RSessionBase |
|
38 { |
|
39 public: // Constructor and destructor |
|
40 IMPORT_C RHtiIPCommServer(); |
|
41 |
|
42 public: |
|
43 IMPORT_C TInt Connect(); |
|
44 IMPORT_C void Close(); |
|
45 IMPORT_C TVersion Version() const; |
|
46 |
|
47 IMPORT_C void Receive( TDes8& aData, TRequestStatus& aStatus ); |
|
48 IMPORT_C void Send( const TDesC8& aData,TRequestStatus& aStatus ); |
|
49 |
|
50 IMPORT_C void CancelReceive(); |
|
51 IMPORT_C void CancelSend(); |
|
52 |
|
53 IMPORT_C TInt GetSendBufferSize() const; |
|
54 IMPORT_C TInt GetReceiveBufferSize() const; |
|
55 }; |
|
56 |
|
57 #endif |
|
58 |
|
59 // End of File |