1 /* 2 * prefs.h -- Alarm Clock global preferences 3 * 4 * Copyright (C) 2007-2008 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 #ifndef PREFS_H_ 25 #define PREFS_H_ 26 27 #include "alarm-applet.h" 28 29 void 30 prefs_init (AlarmApplet *applet); 31 32 void 33 prefs_dialog_show (AlarmApplet *applet); 34 35 gboolean 36 prefs_autostart_get_state (void); 37 38 void 39 prefs_autostart_set_state (gboolean state); 40 41 gboolean 42 prefs_show_label_get (AlarmApplet *applet); 43 44 void 45 prefs_show_label_set (AlarmApplet *applet, gboolean state); 46 47 #endif /*PREFS_H_*/ 48