alarmui/alarmalertwidget/alarmalertinterface/inc/alarmcommon.h
author hgs
Mon, 26 Jul 2010 13:54:38 +0530
changeset 55 2c54b51f39c4
parent 23 fd30d51f876b
permissions -rw-r--r--
201029

/*
* 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;
    TInt iAlarmAlertType;
    TBool iIsSilent;
    TBool iIsTimed;
};

/**
 * @enum AlarmCommand
 * @brief Common alarm commands
 */
enum AlarmCommand {
	AlarmStop = 0x0,
	AlarmSilence,
	AlarmSnooze,
	AlarmShown,
	AlarmCmdLast     
};

#endif		// __ALARM_COMMON_H__