X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fui_status.h;h=9267b27e04329d3ead609208bc8b6f6b1219aeed;hb=912b5d1986633786a656bb3361f7ae9c1263acef;hp=7b6c6de316994a16310a7513ecfd783f0df2dbf3;hpb=bd79e2e58e6988ba9ba57a9cbc8613aff2b1bb32;p=psensor.git diff --git a/src/ui_status.h b/src/ui_status.h index 7b6c6de..9267b27 100644 --- a/src/ui_status.h +++ b/src/ui_status.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2011 jeanfi@gmail.com + * Copyright (C) 2010-2014 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 @@ -20,12 +20,16 @@ #ifndef _PSENSOR_UI_STATUS_H_ #define _PSENSOR_UI_STATUS_H_ +#include #include void ui_status_init(struct ui_psensor *ui); -void ui_status_cleanup(); +void ui_status_cleanup(void); void ui_status_update(struct ui_psensor *ui, unsigned int attention); /* Whether status icon is supported i.e. visible. */ -int is_status_supported(); +int is_status_supported(void); +GtkStatusIcon *ui_status_get_icon(struct ui_psensor *ui); +/* Whether the statuc icon should be visible.*/ +void ui_status_set_visible(unsigned int visible); #endif