equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2009-2010 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 * Private implementation of wrapper for Symbian Esock library. |
|
16 */ |
|
17 |
|
18 #ifndef WLANQTUTILSESOCKWRAPPER_SYMBIAN_H |
|
19 #define WLANQTUTILSESOCKWRAPPER_SYMBIAN_H |
|
20 |
|
21 // System includes |
|
22 |
|
23 #include <es_sock.h> |
|
24 |
|
25 // User includes |
|
26 |
|
27 // Forward declarations |
|
28 |
|
29 // External data types |
|
30 |
|
31 // Constants |
|
32 |
|
33 // Class declaration |
|
34 |
|
35 class WlanQtUtilsEsockWrapperPrivate: public CActive |
|
36 { |
|
37 |
|
38 public: |
|
39 |
|
40 // Data types |
|
41 |
|
42 WlanQtUtilsEsockWrapperPrivate(WlanQtUtilsEsockWrapper *wrapper); |
|
43 |
|
44 ~WlanQtUtilsEsockWrapperPrivate(); |
|
45 |
|
46 void ConnectIap(int iapId); |
|
47 |
|
48 void DisconnectIap(); |
|
49 |
|
50 protected: |
|
51 |
|
52 private: |
|
53 |
|
54 void RunL(); |
|
55 |
|
56 void DoCancel(); |
|
57 |
|
58 private: // data |
|
59 |
|
60 // Owned data |
|
61 |
|
62 RSocketServ iSocketServer; //!< Socket server handle |
|
63 RConnection iConnection; //!< Connection handle |
|
64 TBool iConnectionActive; //!< Do we have an active connection handle? |
|
65 |
|
66 // Not owned data |
|
67 |
|
68 //! Public implementation to report progress to |
|
69 WlanQtUtilsEsockWrapper *q_ptr; |
|
70 |
|
71 // Friend classes |
|
72 }; |
|
73 |
|
74 #endif // WLANQTUTILSESOCKWRAPPER_SYMBIAN_H |
|