alarmui/alarmalertwidget/alarmalertplugin/inc/alarmalert.h
changeset 45 b6db4fd4947b
parent 23 fd30d51f876b
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description:
    15 *
    15 *
    16 */
    16 */
    17 // alarmalert.h
    17 // alarmalert.h
    18 
    18 
    19 #ifndef __ALARM_ALERT_H__
    19 #ifndef __ALARM_ALERT_H__
    20 #define __ALARM_ALERT_H__
    20 #define __ALARM_ALERT_H__
    21 
    21 
    22 // The plugin name. Do not remove the "com.nokia.hb" part.
    22 // The plugin name. Do not remove the "com.nokia.hb" part.
    23 const QString ALARM_ALERT_PLUGIN("com.nokia.hb.alarmalertdialog");
    23 const QString ALARM_ALERT_PLUGIN("com.nokia.hb.alarmalertdialog");
       
    24 _LIT(ALARM_ALERT_PLUGIN_SYMBIAN, "com.nokia.hb.alarmalertdialog");
    24 
    25 
    25 // The string identifier for command
    26 // The string identifier for command
    26 const QString alarmCommand("command");
    27 const QString alarmCommand("command");
       
    28 _LIT(alarmCommandSymbian, "command");
    27 
    29 
    28 // The string identifier for alarm subject
    30 // The string identifier for alarm subject
    29 const QString alarmSubject("subject");
    31 const QString alarmSubject("subject");
       
    32 _LIT(alarmSubjectSymbian, "subject");
    30 
    33 
    31 // The string identifier for alarm location
    34 // The string identifier for alarm location
    32 const QString alarmLocation("location");
    35 const QString alarmLocation("location");
       
    36 _LIT(alarmLocationSymbian, "location");
    33 
    37 
    34 // The string identifier for alarm date and time
    38 // The string identifier for alarm time
    35 const QString alarmDateTime("dateTime");
    39 const QString alarmTime("time");
       
    40 _LIT(alarmTimeSymbian, "time");
       
    41 
       
    42 // The string identifier for alarm date.
       
    43 const QString alarmDate("date");
       
    44 _LIT(alarmDateSymbian, "date");
       
    45 
       
    46 // The string identifier for alarm time
    36 
    47 
    37 // The string identifier for alarm type
    48 // The string identifier for alarm type
    38 const QString alarmType("type");
    49 const QString alarmType("type");
       
    50 _LIT(alarmTypeSymbian, "type");
    39 
    51 
    40 // The string identifier for alarm ringing type
    52 // The string identifier for alarm ringing type
    41 const QString alarmRingingType("ringingType");
    53 const QString alarmRingingType("ringingType");
       
    54 _LIT(alarmRingingTypeSymbian, "ringingType");
    42 
    55 
    43 // The string identifier for alarm snoozability
    56 // The string identifier for alarm snoozability
    44 const QString alarmCanSnooze("canSnooze");
    57 const QString alarmCanSnooze("canSnooze");
       
    58 _LIT(alarmCanSnoozeSymbain, "canSnooze");
    45 
    59 
    46 // The string identifier for checking the nontimed alarms
    60 // The string identifier for checking the nontimed alarms
    47 const QString alarmIsTimed("isTimed");
    61 const QString alarmIsTimed("isTimed");
       
    62 _LIT(alarmIsTimedSymbian, "isTimed");
    48 
    63 
    49 
    64 
    50 /**
    65 /**
    51  * @enum Commands
    66  * @enum Commands
    52  * @brief Some common commands that can be sent
    67  * @brief Some common commands that can be sent
    60 	Other
    75 	Other
    61 };
    76 };
    62 
    77 
    63 /**
    78 /**
    64  * @enum AlarmType
    79  * @enum AlarmType
    65  * @brief Alarm types to be sent 
    80  * @brief Alarm types to be sent
    66  * to the alarm dialog
    81  * to the alarm dialog
    67  */
    82  */
    68 enum AlarmType {
    83 enum AlarmType {
    69     ClockAlarm = 0,
    84     ClockAlarm = 0,
    70 	CalendarAlarm,
    85 	CalendarAlarm,