phoneplugins/phoneindicatorplugin/inc/phoneindicators.h
changeset 45 6b911d05207e
parent 37 ba76fc04e6c2
child 46 bc5a64e5bc3c
--- a/phoneplugins/phoneindicatorplugin/inc/phoneindicators.h	Fri Jun 04 10:19:18 2010 +0100
+++ b/phoneplugins/phoneindicatorplugin/inc/phoneindicators.h	Wed Jun 23 18:12:20 2010 +0300
@@ -30,13 +30,15 @@
     InteractionNone,
     OpenMissedCallView,
     SwitchBackToCall,
+    OpenDiverSettingsView,
     Deactivate
 };
 
 enum PhoneIndicatorTypes
 {
     PhoneMissedCallIndicator = 0,
-    PhoneActiveCallIndicator
+    PhoneActiveCallIndicator,
+    PhoneDivertIndidicator
 };
 
 inline QString indicatorName(int indicatorType) {
@@ -53,10 +55,11 @@
 
 Q_DECLARE_METATYPE(PhoneIndicatorInfo)
 
-static const int PhoneIndicatorCount = 2;
+static const int PhoneIndicatorCount = 3;
 static const PhoneIndicatorInfo IndicatorInfos[PhoneIndicatorCount] = {
     {"qtg_mono_info.svg",   "Missed call", "Name/Number", OpenMissedCallView },
-    {"qtg_mono_info.svg",   "Active call", " ", SwitchBackToCall }
+    {"qtg_mono_info.svg",   "Active call", " ", SwitchBackToCall },
+    {"qtg_mono_info.svg",    "Active diverts", " ", OpenDiverSettingsView }
 };
 
 #endif // PHONEINDICATORS_H