diff options
author | Michal Čihař <nijel@debian.org> | 2017-10-18 10:36:37 +0200 |
---|---|---|
committer | Michal Čihař <nijel@debian.org> | 2017-10-18 10:36:37 +0200 |
commit | f615ee56e6d4f63c6d454068579d5fc158237067 (patch) | |
tree | c388746fbd08c052c58aa732b4193f1149880fa5 /libgammu/service/gsmcal.h |
Import gammu_1.38.5.orig.tar.xz
[dgit import orig gammu_1.38.5.orig.tar.xz]
Diffstat (limited to 'libgammu/service/gsmcal.h')
-rw-r--r-- | libgammu/service/gsmcal.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/libgammu/service/gsmcal.h b/libgammu/service/gsmcal.h new file mode 100644 index 0000000..6928091 --- /dev/null +++ b/libgammu/service/gsmcal.h @@ -0,0 +1,50 @@ +/* (c) 2002-2004 by Marcin Wiacek, 2005-2007 by Michal Cihar */ + +/** + * @file gsmcal.h + * @author Michal Čihař <michal@cihar.com> + * @author Marcin Wiacek + * @author Frederick Ros + * @date 2002-2007 + */ +/** + * @defgroup Calendar Calendar parsing and encoding + * + * This module implements calendar related opreations. + * + * @see http://www.imc.org/pdi/ + * @{ + */ + +#ifndef __gsm_cal_h +#define __gsm_cal_h + +/* ---------------------------- calendar ----------------------------------- */ + +#include <gammu-calendar.h> + +/** + * Time Units. + */ +typedef enum { + GSM_TimeUnit_Unknown = 0, + GSM_TimeUnit_Days, + GSM_TimeUnit_Hours, + GSM_TimeUnit_Minutes, + GSM_TimeUnit_Seconds +} GSM_TimeUnit; + +void GSM_GetCalendarRecurranceRepeat(GSM_Debug_Info *di, unsigned char *rec, unsigned char *endday, GSM_CalendarEntry *entry); +void GSM_SetCalendarRecurranceRepeat(GSM_Debug_Info *di, unsigned char *rec, unsigned char *endday, GSM_CalendarEntry *entry); + +/* ------------------------------ to-do ------------------------------------ */ + +void GSM_ToDoFindDefaultTextTimeAlarmCompleted(GSM_ToDoEntry *entry, int *Text, int *Alarm, int *Completed, int *EndTime, int *Phone); + + +#endif +/*@}*/ + +/* How should editor hadle tabs in this file? Add editor commands here. + * vim: noexpandtab sw=8 ts=8 sts=8: + */ |