src/hbcore/devicedialogbase/hbdevicedialogplugin.h
changeset 23 e6ad4ef83b23
parent 6 c3690ec91ef8
--- a/src/hbcore/devicedialogbase/hbdevicedialogplugin.h	Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbcore/devicedialogbase/hbdevicedialogplugin.h	Thu Sep 02 20:44:51 2010 +0300
@@ -64,7 +64,13 @@
         DeviceNotificationDialogGroup,
         IndicatorGroup,
         SecurityGroup,
-        CriticalGroup
+        CriticalGroup // deprecated
+    };
+
+    enum ShowLevel{
+        NormalLevel,
+        SecurityLevel,
+        CriticalLevel
     };
 
     enum DeviceDialogFlag{
@@ -77,14 +83,16 @@
     Q_DECLARE_FLAGS(DeviceDialogFlags, DeviceDialogFlag)
 
     enum {
-        DefaultPriority = 0
+        DefaultPriority = 0 // deprecated
     };
 
     struct DeviceDialogInfo {
         DeviceDialogGroup group;
         int flags;
-        int priority;
-        quint32 spare[8];
+
+        int priority; // deprecated
+        ShowLevel showLevel;
+        quint32 spare[7];
     };
 
     virtual bool accessAllowed(const QString &deviceDialogType,