bluetoothengine/btnotif/btnotifsrv/src/btnotifserver.cpp
changeset 57 5ebadcda06cb
parent 42 b72428996822
child 70 f5508c13dfe0
--- a/bluetoothengine/btnotif/btnotifsrv/src/btnotifserver.cpp	Fri Aug 06 16:43:21 2010 +0300
+++ b/bluetoothengine/btnotif/btnotifsrv/src/btnotifserver.cpp	Fri Sep 03 16:17:59 2010 +0300
@@ -23,8 +23,10 @@
 #include "btnotifsettingstracker.h"
 #include "btnotificationmanager.h"
 #include "btnotifdeviceselector.h"
+#include "btnotifgeninfonotifier.h"
 #include "btnotifserversecpolicy.h"
 #include "btnotifclientserver.h"
+#include "btnotifpowernotifier.h"
 
 /**  Panic category */
 _LIT( KBTNotifPanic, "BTNotif panic" );
@@ -121,6 +123,8 @@
     iNotificationMgr = CBTNotificationManager::NewL( this );
     iSettingsTracker = CBTNotifSettingsTracker::NewL( this );
     iConnectionTracker = CBTNotifConnectionTracker::NewL( this );
+    iGenInfoNotifier = CBTNotifGenInfoNotifier::NewL( this );
+    iBTPowerNotifier = CBTNotifPowerNotifier::NewL( this );
     iTimer = CDeltaTimer::NewL(CActive::EPriorityLow);
     TCallBack shutdownCb( ShutdownTimeout, this );
     iShutdownTimerEntry.Set( shutdownCb );
@@ -160,6 +164,8 @@
     delete iSettingsTracker;
     delete iConnectionTracker;
     delete iNotificationMgr;
+    delete iGenInfoNotifier;
+    delete iBTPowerNotifier;
     delete iAsyncCb;
     delete iTimer;
     delete iDevRep;