--- a/phoneplugins/phoneindicatorplugin/inc/phoneindicators.h Mon May 03 12:31:11 2010 +0300
+++ b/phoneplugins/phoneindicatorplugin/inc/phoneindicators.h Fri May 14 15:51:57 2010 +0300
@@ -29,12 +29,14 @@
{
InteractionNone,
OpenMissedCallView,
+ SwitchBackToCall,
Deactivate
};
enum PhoneIndicatorTypes
{
- PhoneMissedCallIndicator = 0
+ PhoneMissedCallIndicator = 0,
+ PhoneActiveCallIndicator
};
inline QString indicatorName(int indicatorType) {
@@ -46,15 +48,15 @@
const char *icon;
const char *primaryText;
const char *secondaryText;
- HbIndicatorInterface::GroupPriority priority;
Interaction interaction;
};
Q_DECLARE_METATYPE(PhoneIndicatorInfo)
-static const int PhoneIndicatorCount = 1;
+static const int PhoneIndicatorCount = 2;
static const PhoneIndicatorInfo IndicatorInfos[PhoneIndicatorCount] = {
- {"qtg_mono_info.svg", "Missed call", "Name/Number", HbIndicatorInterface::GroupPriorityHigh, OpenMissedCallView } // TODO: change icon
+ {"qtg_mono_info.svg", "Missed call", "Name/Number", OpenMissedCallView },
+ {"qtg_mono_info.svg", "Active call", " ", SwitchBackToCall }
};
#endif // PHONEINDICATORS_H