equal
deleted
inserted
replaced
21 #include "btnotifsession.h" |
21 #include "btnotifsession.h" |
22 #include "btnotifconnectiontracker.h" |
22 #include "btnotifconnectiontracker.h" |
23 #include "btnotifsettingstracker.h" |
23 #include "btnotifsettingstracker.h" |
24 #include "btnotificationmanager.h" |
24 #include "btnotificationmanager.h" |
25 #include "btnotifdeviceselector.h" |
25 #include "btnotifdeviceselector.h" |
|
26 #include "btnotifgeninfonotifier.h" |
26 #include "btnotifserversecpolicy.h" |
27 #include "btnotifserversecpolicy.h" |
27 #include "btnotifclientserver.h" |
28 #include "btnotifclientserver.h" |
|
29 #include "btnotifpowernotifier.h" |
28 |
30 |
29 /** Panic category */ |
31 /** Panic category */ |
30 _LIT( KBTNotifPanic, "BTNotif panic" ); |
32 _LIT( KBTNotifPanic, "BTNotif panic" ); |
31 |
33 |
32 /** Timeout (10 sec) for shutting down the server |
34 /** Timeout (10 sec) for shutting down the server |
119 // observers via CBtDevRepository interface. |
121 // observers via CBtDevRepository interface. |
120 iDevRep = CBtDevRepository::NewL(); |
122 iDevRep = CBtDevRepository::NewL(); |
121 iNotificationMgr = CBTNotificationManager::NewL( this ); |
123 iNotificationMgr = CBTNotificationManager::NewL( this ); |
122 iSettingsTracker = CBTNotifSettingsTracker::NewL( this ); |
124 iSettingsTracker = CBTNotifSettingsTracker::NewL( this ); |
123 iConnectionTracker = CBTNotifConnectionTracker::NewL( this ); |
125 iConnectionTracker = CBTNotifConnectionTracker::NewL( this ); |
|
126 iGenInfoNotifier = CBTNotifGenInfoNotifier::NewL( this ); |
|
127 iBTPowerNotifier = CBTNotifPowerNotifier::NewL( this ); |
124 iTimer = CDeltaTimer::NewL(CActive::EPriorityLow); |
128 iTimer = CDeltaTimer::NewL(CActive::EPriorityLow); |
125 TCallBack shutdownCb( ShutdownTimeout, this ); |
129 TCallBack shutdownCb( ShutdownTimeout, this ); |
126 iShutdownTimerEntry.Set( shutdownCb ); |
130 iShutdownTimerEntry.Set( shutdownCb ); |
127 } |
131 } |
128 |
132 |
158 { |
162 { |
159 delete iDevSelector; |
163 delete iDevSelector; |
160 delete iSettingsTracker; |
164 delete iSettingsTracker; |
161 delete iConnectionTracker; |
165 delete iConnectionTracker; |
162 delete iNotificationMgr; |
166 delete iNotificationMgr; |
|
167 delete iGenInfoNotifier; |
|
168 delete iBTPowerNotifier; |
163 delete iAsyncCb; |
169 delete iAsyncCb; |
164 delete iTimer; |
170 delete iTimer; |
165 delete iDevRep; |
171 delete iDevRep; |
166 } |
172 } |
167 |
173 |