00001 /** 00002 * This file is part of alarmd 00003 * 00004 * Contact Person: David Weinehall <david.weinehall@nokia.com> 00005 * 00006 * Copyright (C) 2006 Nokia Corporation 00007 * alarmd and libalarm are free software; you can redistribute them 00008 * and/or modify them under the terms of the GNU Lesser General Public 00009 * License version 2.1 as published by the Free Software Foundation. 00010 * 00011 * alarmd and libalarm are distributed in the hope that they will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this software; if not, write to the Free 00018 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00019 * 02110-1301 USA 00020 */ 00021 00022 #ifndef _RPC_STATUSBAR_H_ 00023 #define _RPC_STATUSBAR_H_ 00024 00025 /** 00026 * SECTION:rpc-statusbar 00027 * @short_description: Communication with the statusbar applet. 00028 * 00029 * These functions can be used to show/hide the statusbar icon for alarm. 00030 **/ 00031 00032 /** 00033 * statusbar_show_icon: 00034 * 00035 * Increments the statusbar applet show count, if the counter was zero, 00036 * the icon will be shown. 00037 **/ 00038 void statusbar_show_icon(void); 00039 00040 /** 00041 * statusbar_hide_icon: 00042 * 00043 * Decrements the statusbar applet show count, if the counter becomes zero, 00044 * the icon will be hidden. 00045 **/ 00046 void statusbar_hide_icon(void); 00047 00048 #endif /* _RPC_STATUSBAR_H_ */