X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Fui_sensorpref.h;h=692dedc192fe4eb1525d59b45029b8818db7da0e;hp=095c051173d4af2a327bb66e07318181b7e07a0c;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hpb=e3727b2d7200f0f13d6b42e0bc9ab63d4d751fea diff --git a/src/ui_sensorpref.h b/src/ui_sensorpref.h index 095c051..692dedc 100644 --- a/src/ui_sensorpref.h +++ b/src/ui_sensorpref.h @@ -1,27 +1,38 @@ /* - Copyright (C) 2010-2011 jeanfi@gmail.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., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA -*/ - + * Copyright (C) 2010-2016 jeanfi@gmail.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., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ #ifndef _PSENSOR_UI_SENSORPREF_H_ #define _PSENSOR_UI_SENSORPREF_H_ -#include "ui.h" +#include void ui_sensorpref_dialog_run(struct psensor *sensor, struct ui_psensor *ui); +void ui_sensorpref_name_changed_cb(GtkEntry *, gpointer); +void ui_sensorpref_draw_toggled_cb(GtkToggleButton *, gpointer); +void ui_sensorpref_display_toggled_cb(GtkToggleButton *, gpointer); +void ui_sensorpref_alarm_toggled_cb(GtkToggleButton *, gpointer); +void ui_sensorpref_appindicator_menu_toggled_cb(GtkToggleButton *, gpointer); +void ui_sensorpref_appindicator_label_toggled_cb(GtkToggleButton *, gpointer); +void ui_sensorpref_color_set_cb(GtkColorButton *, gpointer); +void ui_sensorpref_alarm_high_threshold_changed_cb(GtkSpinButton *, gpointer); +void ui_sensorpref_alarm_low_threshold_changed_cb(GtkSpinButton *, gpointer); +void ui_sensorpref_tree_selection_changed_cb(GtkTreeSelection *, gpointer); +void ui_sensorpref_close_clicked_cb(GtkButton *, gpointer); + #endif