1 /* 2 * alarm-actions.h -- Alarm actions 3 * 4 * Copyright (C) 2010 Johannes H. Jensen <joh@pseudoberries.com> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 2 9 * of the License, or (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 * 20 * Authors: 21 * Johannes H. Jensen <joh@pseudoberries.com> 22 */ 23 24 25 #ifndef ALARM_ACTIONS_H_ 26 #define ALARM_ACTIONS_H_ 27 28 #include "alarm-applet.h" 29 30 void 31 alarm_applet_actions_init (AlarmApplet *applet); 32 33 void 34 alarm_applet_actions_update_sensitive (AlarmApplet *applet); 35 36 void 37 alarm_action_update_enabled (AlarmApplet *applet); 38 39 void 40 alarm_action_edit (GtkAction *action, gpointer data); 41 42 void 43 alarm_action_delete (GtkAction *action, gpointer data); 44 45 void 46 alarm_action_enabled (GtkToggleAction *action, gpointer data); 47 48 void 49 alarm_action_stop (GtkAction *action, gpointer data); 50 51 void 52 alarm_action_stop_all (GtkAction *action, gpointer data); 53 54 void 55 alarm_action_new (GtkAction *action, gpointer data); 56 57 void 58 alarm_action_snooze (GtkAction *action, gpointer data); 59 60 void 61 alarm_action_snooze_all (GtkAction *action, gpointer data); 62 63 void 64 alarm_action_toggle_list_win (GtkAction *action, gpointer data); 65 66 void 67 alarm_action_quit (GtkAction *action, gpointer data); 68 69 void 70 alarm_action_toggle_autostart (GtkAction *action, gpointer data); 71 72 void 73 alarm_action_toggle_show_label (GtkAction *action, gpointer data); 74 75 #endif // ALARM_ACTIONS_H 76