alarmui/alarmalertwidget/alarmalertplugin/inc/alarmalert.h
branchRCL_3
changeset 65 12af337248b1
equal deleted inserted replaced
60:96907930389d 65:12af337248b1
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 // alarmalert.h
       
    18 
       
    19 #ifndef __ALARM_ALERT_H__
       
    20 #define __ALARM_ALERT_H__
       
    21 
       
    22 // The plugin name. Do not remove the "com.nokia.hb" part.
       
    23 const QString ALARM_ALERT_PLUGIN("com.nokia.hb.alarmalertdialog");
       
    24 _LIT(ALARM_ALERT_PLUGIN_SYMBIAN, "com.nokia.hb.alarmalertdialog");
       
    25 
       
    26 // The string identifier for command
       
    27 const QString alarmCommand("command");
       
    28 _LIT(alarmCommandSymbian, "command");
       
    29 
       
    30 // The string identifier for alarm subject
       
    31 const QString alarmSubject("subject");
       
    32 _LIT(alarmSubjectSymbian, "subject");
       
    33 
       
    34 // The string identifier for alarm location
       
    35 const QString alarmLocation("location");
       
    36 _LIT(alarmLocationSymbian, "location");
       
    37 
       
    38 // The string identifier for alarm time
       
    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
       
    47 
       
    48 // The string identifier for alarm type
       
    49 const QString alarmType("type");
       
    50 _LIT(alarmTypeSymbian, "type");
       
    51 
       
    52 // The string identifier for alarm ringing type
       
    53 const QString alarmRingingType("ringingType");
       
    54 _LIT(alarmRingingTypeSymbian, "ringingType");
       
    55 
       
    56 // The string identifier for alarm snoozability
       
    57 const QString alarmCanSnooze("canSnooze");
       
    58 _LIT(alarmCanSnoozeSymbain, "canSnooze");
       
    59 
       
    60 // The string identifier for checking the nontimed alarms
       
    61 const QString alarmIsTimed("isTimed");
       
    62 _LIT(alarmIsTimedSymbian, "isTimed");
       
    63 
       
    64 
       
    65 /**
       
    66  * @enum Commands
       
    67  * @brief Some common commands that can be sent
       
    68  * back by the alarm dialog
       
    69  */
       
    70 enum Commands {
       
    71 	Stop,
       
    72 	Silence,
       
    73 	Snooze,
       
    74 	Shown,
       
    75 	Other
       
    76 };
       
    77 
       
    78 /**
       
    79  * @enum AlarmType
       
    80  * @brief Alarm types to be sent
       
    81  * to the alarm dialog
       
    82  */
       
    83 enum AlarmType {
       
    84     ClockAlarm = 0,
       
    85 	CalendarAlarm,
       
    86     TodoAlarm,
       
    87     OtherAlarm
       
    88     };
       
    89 
       
    90 #endif		// __ALARM_ALERT_H__