equal
deleted
inserted
replaced
33 #include <stdapis/net/if.h> |
33 #include <stdapis/net/if.h> |
34 #include <commdb.h> |
34 #include <commdb.h> |
35 #include <commdbconnpref.h> |
35 #include <commdbconnpref.h> |
36 #include <rpipe.h> |
36 #include <rpipe.h> |
37 |
37 |
|
38 #include<tz.h> |
|
39 |
38 #ifdef SYMBIAN_OE_POSIX_SIGNALS |
40 #ifdef SYMBIAN_OE_POSIX_SIGNALS |
39 #include "signalclient.h" |
41 #include "signalclient.h" |
40 #include "tsignalmessage.h" |
42 #include "tsignalmessage.h" |
41 |
43 |
42 typedef void (*TSignalHandler)(int); |
44 typedef void (*TSignalHandler)(int); |
110 /* |
112 /* |
111 @internalComponent |
113 @internalComponent |
112 */ |
114 */ |
113 { |
115 { |
114 public: |
116 public: |
115 void StorePtrs(RHeap* aHeap, RFs* aFs, RSocketServ* aSs, RCommServ* aCs, RFastLock* aSsLock, RFastLock* aCsLock) |
117 void StorePtrs(RHeap* aHeap, RFs* aFs, RSocketServ* aSs, RCommServ* aCs, RFastLock* aSsLock, RFastLock* aCsLock, RTz * aTzs) |
116 { |
118 { |
117 iHeap = aHeap; |
119 iHeap = aHeap; |
118 iFs = aFs; |
120 iFs = aFs; |
119 iSs = aSs; |
121 iSs = aSs; |
120 iCs = aCs; |
122 iCs = aCs; |
121 iSsLock = aSsLock; |
123 iSsLock = aSsLock; |
122 iCsLock = aCsLock; |
124 iCsLock = aCsLock; |
|
125 iTzS = aTzs; |
123 } |
126 } |
124 |
127 |
125 ~TCLSICleanup() |
128 ~TCLSICleanup() |
126 { |
129 { |
127 iFs->Close(); |
130 iFs->Close(); |
128 iSs->Close(); |
131 iSs->Close(); |
129 iSsLock->Close(); |
132 iSsLock->Close(); |
130 iCs->Close(); |
133 iCs->Close(); |
131 iCsLock->Close(); |
134 iCsLock->Close(); |
132 iHeap->Close(); |
135 iHeap->Close(); |
|
136 iTzS->Close(); |
133 } |
137 } |
134 private: |
138 private: |
135 RHeap* iHeap; |
139 RHeap* iHeap; |
136 RFs* iFs; |
140 RFs* iFs; |
137 RSocketServ* iSs; |
141 RSocketServ* iSs; |
138 RCommServ* iCs; |
142 RCommServ* iCs; |
139 RFastLock* iSsLock; |
143 RFastLock* iSsLock; |
140 RFastLock* iCsLock; |
144 RFastLock* iCsLock; |
|
145 RTz * iTzS; |
141 }; |
146 }; |
142 |
147 |
143 |
148 |
144 class TFileTableCleanup |
149 class TFileTableCleanup |
145 { |
150 { |
649 // iASelectRequest holds the TASelectRequest objects of the aselect requests |
654 // iASelectRequest holds the TASelectRequest objects of the aselect requests |
650 RArray<TASelectRequest> iASelectRequest; |
655 RArray<TASelectRequest> iASelectRequest; |
651 |
656 |
652 // Default connection settings, set/cleared using setdefaultif |
657 // Default connection settings, set/cleared using setdefaultif |
653 TConnPref* iDefConnPref; |
658 TConnPref* iDefConnPref; |
654 |
659 RTz iTzServer; |
655 #ifdef SYMBIAN_OE_POSIX_SIGNALS |
660 #ifdef SYMBIAN_OE_POSIX_SIGNALS |
656 // Signal handler thread |
661 // Signal handler thread |
657 RThread iSignalHandlerThread; |
662 RThread iSignalHandlerThread; |
658 RPipe iSignalReadPipe; |
663 RPipe iSignalReadPipe; |
659 RPipe iSignalWritePipe; |
664 RPipe iSignalWritePipe; |
801 //timers.. |
806 //timers.. |
802 #endif // SYMBIAN_OE_LIBRT |
807 #endif // SYMBIAN_OE_LIBRT |
803 |
808 |
804 #endif // SYMBIAN_OE_POSIX_SIGNALS |
809 #endif // SYMBIAN_OE_POSIX_SIGNALS |
805 public: |
810 public: |
|
811 |
|
812 inline RTz & TZServer() |
|
813 { |
|
814 return iTzServer; |
|
815 } |
806 //ipc server session |
816 //ipc server session |
807 RIpcSession iIpcS; |
817 RIpcSession iIpcS; |
808 friend class RFileDesTransferSession; |
818 friend class RFileDesTransferSession; |
809 }; |
819 }; |
810 |
820 |