bluetoothengine/btnotif/btdevicedialogplugin/src/btdevicedialogplugin.cpp
changeset 70 f5508c13dfe0
parent 57 5ebadcda06cb
child 71 083fd884d7dd
--- a/bluetoothengine/btnotif/btdevicedialogplugin/src/btdevicedialogplugin.cpp	Wed Oct 13 13:15:31 2010 +0300
+++ b/bluetoothengine/btnotif/btdevicedialogplugin/src/btdevicedialogplugin.cpp	Tue Oct 19 15:09:34 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -33,6 +33,8 @@
 #include "btdevicedialogrecvquerywidget.h"
 #include "btrecvcompleteddialogwidget.h"
 #include "btdeviceinfowidget.h"
+#include "btdevicedialogwaitingwidget.h"
+#include "btdeviceokonlydialogwidget.h"
 #include <hbtranslator.h>
 
 Q_EXPORT_PLUGIN2(btdevicedialogplugin, BtDeviceDialogPlugin)
@@ -210,6 +212,7 @@
     HbDeviceDialogInterface *deviceDialog = NULL;
     switch ( i.value().toInt() ) {
         case TBluetoothDialogParams::ENote:
+        case TBluetoothDialogParams::bt_054_d_entered_popup:
             deviceDialog =
                 new BtDeviceDialogNotifWidget(parameters);
             break;
@@ -244,6 +247,14 @@
         case TBluetoothDialogParams::EInformationDialog:
             deviceDialog = new BtDeviceInfoWidget(parameters);
             break;
+        case TBluetoothDialogParams::bt_052_d_entering:
+            deviceDialog = new BtDeviceDialogWaitingWidget(parameters);
+            break;
+        case TBluetoothDialogParams::bt_053_d_unable_to_use_no_sim:
+        case TBluetoothDialogParams::bt_053_d_unable_to_use:
+            deviceDialog =
+                new BtDeviceOkOnlyDialogWidget(HbMessageBox::MessageTypeWarning,parameters);
+            break;
         default:
             d->mError = UnknownDeviceDialogError;
             break;