|
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 @file SHIMCLIENT.H |
|
22 @internalComponent |
|
23 */ |
|
24 |
|
25 #if !defined(__SHIMCLIENT_H__) |
|
26 #define __SHIMCLIENT_H__ |
|
27 |
|
28 #include <e32def.h> |
|
29 #include <e32base.h> |
|
30 #include <comms-infras/metadata.h> |
|
31 |
|
32 class TNifProgress; |
|
33 class MShimControlClient |
|
34 /** |
|
35 the former CSubConnection down-calls (interface seen by ESOCK and used to comunicate sub-connection |
|
36 related calls made via RConnection using either id or index. |
|
37 |
|
38 @internalComponent |
|
39 */ |
|
40 { |
|
41 public: |
|
42 //former CConnection::StopSubConnectionL(const RMessage2& aMessage); |
|
43 virtual TBool StopL(const RMessage2& aMessage) = 0; |
|
44 // Former calls from CConnection::GetSubConnectionInfo |
|
45 virtual TInt GetSubConnectionInfo(const RMessage2& aMessage) = 0; |
|
46 // Former Calls from RConnection via CSubConnection |
|
47 virtual TInt GetCurrentProgress(TNifProgress& aProgress) = 0; |
|
48 virtual TBool DataTransferredL(const RMessage2& aMessage) = 0; |
|
49 virtual TBool DataTransferredCancel(const RMessage2& aMessage) = 0; |
|
50 virtual TBool RequestSubConnectionProgressNotificationL(const RMessage2& aMessage) = 0; |
|
51 virtual TBool CancelSubConnectionProgressNotification(const RMessage2& aMessage) = 0; |
|
52 virtual TBool DataSentNotificationRequestL(const RMessage2& aMessage) = 0; |
|
53 virtual TBool DataSentNotificationCancel(const RMessage2& aMessage) = 0; |
|
54 virtual TBool DataReceivedNotificationRequestL(const RMessage2& aMessage) = 0; |
|
55 virtual TBool DataReceivedNotificationCancel(const RMessage2& aMessage) = 0; |
|
56 virtual TBool IsSubConnectionActiveRequestL(const RMessage2& aMessage) = 0; |
|
57 virtual TBool IsSubConnectionActiveCancel(const RMessage2& aMessage) = 0; |
|
58 |
|
59 virtual TInt ReturnCode() const = 0; |
|
60 }; |
|
61 |
|
62 #endif // __SHIMCLIENT_H__ |