1 /* Notification plugin for Claws Mail 2 * Copyright (C) 2005-2007 Holger Berndt and the Claws Mail Team. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef NOTIFICATION_TRAYICON_H 19 #define NOTIFICATION_TRAYICON_H NOTIFICATION_TRAYICON_H 20 21 #ifdef HAVE_CONFIG_H 22 # include "config.h" 23 # include "claws-features.h" 24 #endif 25 26 #ifdef NOTIFICATION_TRAYICON 27 28 #include <glib.h> 29 30 #include "procmsg.h" 31 32 #define TRAYICON_SPECIFIC_FOLDER_ID_STR "trayicon" 33 34 void notification_trayicon_msg(MsgInfo*); 35 36 void notification_trayicon_destroy(void); 37 38 /* creates it, if necessary */ 39 void notification_update_trayicon(void); 40 41 gboolean notification_trayicon_main_window_close(gpointer, gpointer); 42 gboolean notification_trayicon_main_window_got_iconified(gpointer, gpointer); 43 gboolean notification_trayicon_account_list_changed(gpointer, gpointer); 44 45 gboolean notification_trayicon_is_available(void); 46 void notification_trayicon_on_activate(GtkStatusIcon*,gpointer); 47 48 #endif /* NOTIFICATION_TRAYICON */ 49 50 #endif /* include guard */ 51