equal
deleted
inserted
replaced
30 void PreventPark(); |
30 void PreventPark(); |
31 void StopAll(); |
31 void StopAll(); |
32 |
32 |
33 private: |
33 private: |
34 CBTSynchronousLinkBaseband(CBluetoothSynchronousLink& aParent); |
34 CBTSynchronousLinkBaseband(CBluetoothSynchronousLink& aParent); |
35 void ConstructL(); |
|
36 void DoCancel(); |
35 void DoCancel(); |
37 void RunL(); |
36 void RunL(); |
38 TInt RunError(TInt aError); |
37 TInt RunError(TInt aError); |
39 |
38 |
40 CBluetoothSynchronousLink& iParent; |
39 CBluetoothSynchronousLink& iParent; |
41 TBTBasebandEvent iEvent; |
40 TBTBasebandEvent iEvent; |
42 }; |
41 }; |
43 |
42 |
44 //CBluetoothSynchronousLink Active Objects... |
43 |
45 NONSHARABLE_CLASS(CBTSynchronousLinkAttacher) : public CActive |
44 NONSHARABLE_CLASS(CBTSynchronousLinkAttacher) : public CActive |
46 { |
45 { |
47 public: |
46 public: |
48 static CBTSynchronousLinkAttacher* NewL(CBluetoothSynchronousLink& aParent, TSCOType aSCOType); |
47 static CBTSynchronousLinkAttacher* NewL(CBluetoothSynchronousLink& aParent, TSCOType aSCOType); |
49 ~CBTSynchronousLinkAttacher(); |
48 ~CBTSynchronousLinkAttacher(); |
51 void AttachSCOLink(TBTSockAddr& aSockAddr); |
50 void AttachSCOLink(TBTSockAddr& aSockAddr); |
52 |
51 |
53 |
52 |
54 private: |
53 private: |
55 CBTSynchronousLinkAttacher(CBluetoothSynchronousLink& aParent, TSCOType aSCOTypes); |
54 CBTSynchronousLinkAttacher(CBluetoothSynchronousLink& aParent, TSCOType aSCOTypes); |
56 void ConstructL(); |
|
57 void DoCancel(); |
55 void DoCancel(); |
58 void RunL(); |
56 void RunL(); |
59 TInt RunError(TInt aError); |
57 TInt RunError(TInt aError); |
60 |
58 |
61 CBluetoothSynchronousLink& iParent; |
59 CBluetoothSynchronousLink& iParent; |
73 void DetachSCOLink(const TDesC8& aDesOut, TDes8& aDesIn); |
71 void DetachSCOLink(const TDesC8& aDesOut, TDes8& aDesIn); |
74 |
72 |
75 |
73 |
76 private: |
74 private: |
77 CBTSynchronousLinkDetacher(CBluetoothSynchronousLink& aParent, TSCOType aSCOTypes); |
75 CBTSynchronousLinkDetacher(CBluetoothSynchronousLink& aParent, TSCOType aSCOTypes); |
78 void ConstructL(); |
|
79 void DoCancel(); |
76 void DoCancel(); |
80 void RunL(); |
77 void RunL(); |
81 TInt RunError(TInt aError); |
78 TInt RunError(TInt aError); |
82 |
79 |
83 CBluetoothSynchronousLink& iParent; |
80 CBluetoothSynchronousLink& iParent; |
91 { |
88 { |
92 public: |
89 public: |
93 static CBTSynchronousLinkAccepter* NewL(CBluetoothSynchronousLink& aParent, TSCOType aSCOType); |
90 static CBTSynchronousLinkAccepter* NewL(CBluetoothSynchronousLink& aParent, TSCOType aSCOType); |
94 ~CBTSynchronousLinkAccepter(); |
91 ~CBTSynchronousLinkAccepter(); |
95 |
92 |
96 void Accept(RSocket& aSocket); |
93 void Accept(); |
97 |
94 |
98 |
95 |
99 private: |
96 private: |
100 CBTSynchronousLinkAccepter(CBluetoothSynchronousLink& aParent, TSCOType aSCOType); |
97 CBTSynchronousLinkAccepter(CBluetoothSynchronousLink& aParent, TSCOType aSCOType); |
101 void ConstructL(); |
|
102 void DoCancel(); |
98 void DoCancel(); |
103 void RunL(); |
99 void RunL(); |
104 TInt RunError(TInt aError); |
100 TInt RunError(TInt aError); |
105 |
101 |
106 CBluetoothSynchronousLink& iParent; |
102 CBluetoothSynchronousLink& iParent; |
118 void SendSCOData(const TDesC8& aSCOData); |
114 void SendSCOData(const TDesC8& aSCOData); |
119 |
115 |
120 |
116 |
121 private: |
117 private: |
122 CBTSynchronousLinkSender(CBluetoothSynchronousLink& aParent, TSCOType aSCOType); |
118 CBTSynchronousLinkSender(CBluetoothSynchronousLink& aParent, TSCOType aSCOType); |
123 void ConstructL(); |
|
124 void DoCancel(); |
119 void DoCancel(); |
125 void RunL(); |
120 void RunL(); |
126 TInt RunError(TInt aError); |
121 TInt RunError(TInt aError); |
127 |
122 |
128 CBluetoothSynchronousLink& iParent; |
123 CBluetoothSynchronousLink& iParent; |
140 void ReadSCOData(TDes8& aDesc); |
135 void ReadSCOData(TDes8& aDesc); |
141 |
136 |
142 |
137 |
143 private: |
138 private: |
144 CBTSynchronousLinkReceiver(CBluetoothSynchronousLink& aParent, TSCOType aSCOTypes); |
139 CBTSynchronousLinkReceiver(CBluetoothSynchronousLink& aParent, TSCOType aSCOTypes); |
145 void ConstructL(); |
|
146 void DoCancel(); |
140 void DoCancel(); |
147 void RunL(); |
141 void RunL(); |
148 TInt RunError(TInt aError); |
142 TInt RunError(TInt aError); |
149 |
143 |
150 CBluetoothSynchronousLink& iParent; |
144 CBluetoothSynchronousLink& iParent; |