diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-10-10 08:40:30 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-10-10 08:40:30 +0800 |
commit | 423268bfa266e80902f28a84da8de637afd841a1 (patch) | |
tree | baff5e5f54e32e19ae933849e243be85077f4c11 /calendar/gui/alarm-notify/save.h | |
parent | 45a3bf8c4557eea71a77afd8a6efcc01416ecdef (diff) | |
download | gsoc2013-evolution-423268bfa266e80902f28a84da8de637afd841a1.tar.gz gsoc2013-evolution-423268bfa266e80902f28a84da8de637afd841a1.tar.zst gsoc2013-evolution-423268bfa266e80902f28a84da8de637afd841a1.zip |
Fixes bug #884.
2001-10-09 Federico Mena Quintero <federico@ximian.com>
Fixes bug #884.
* gui/alarm-notify/save.[ch]: New files with functions to
save/load the last notification time.
* gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): Save the last
notification time.
(alarm_queue_init): Load the last notification time when the
daemon is inited.
(alarm_queue_add_client): Load the alarms that we missed while the
alarm daemon was not running.
(cal_opened_cb): Likewise.
* gui/alarm-notify/Makefile.am (evolution_alarm_notify_SOURCES):
Added save.[ch] to the list of sources.
svn path=/trunk/; revision=13538
Diffstat (limited to 'calendar/gui/alarm-notify/save.h')
-rw-r--r-- | calendar/gui/alarm-notify/save.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/save.h b/calendar/gui/alarm-notify/save.h new file mode 100644 index 0000000000..550fc972ea --- /dev/null +++ b/calendar/gui/alarm-notify/save.h @@ -0,0 +1,31 @@ +/* Evolution calendar - Functions to save alarm notification times + * + * Copyright (C) 2001 Ximian, Inc. + * + * Authors: Federico Mena-Quintero <federico@ximian.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef SAVE_H +#define SAVE_H + +#include <time.h> + +void save_notification_time (time_t t); + +time_t get_saved_notification_time (void); + +#endif |