alarmui/alarmalertwidget/alarmalertinterface/inc/alarmcommon.h
changeset 18 c198609911f9
child 23 fd30d51f876b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/alarmui/alarmalertwidget/alarmalertinterface/inc/alarmcommon.h	Fri Apr 16 14:57:40 2010 +0300
@@ -0,0 +1,52 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: 
+*
+*/
+// alarmcommon.h
+
+#ifndef __ALARM_COMMON_H__
+#define __ALARM_COMMON_H__
+
+#include <e32cmn.h>
+#include <e32std.h>
+
+/**
+ * @struct SAlarmInfo
+ * @brief Structure to hold alarm information
+ */
+struct SAlarmInfo
+{
+    HBufC* iSubject;
+    TTime iDate;
+    TTime iTime;
+    HBufC* iLocation;
+    TBool iCanSnooze;
+    TBool iIsClockAlarm;
+    TBool iIsSilent;
+};
+
+/**
+ * @enum AlarmCommand
+ * @brief Common alarm commands
+ */
+enum AlarmCommand {
+	AlarmStop = 0x0,
+	AlarmSilence,
+	AlarmSnooze,
+	AlarmShown,
+	AlarmCmdLast     
+};
+
+#endif		// __ALARM_COMMON_H__