1 /* EasyTAG - Tag editor for audio files 2 * Copyright (C) 2014 David King <amigadave@amigadave.com> 3 * Copyright (C) 2000-2003 Jerome Couderc <easytag@gmail.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #ifndef ET_STATUS_BAR_H_ 20 #define ET_STATUS_BAR_H_ 21 22 #include <gtk/gtk.h> 23 24 G_BEGIN_DECLS 25 26 #define ET_TYPE_STATUS_BAR (et_status_bar_get_type ()) 27 #define ET_STATUS_BAR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), ET_TYPE_STATUS_BAR, EtStatusBar)) 28 29 typedef struct _EtStatusBar EtStatusBar; 30 typedef struct _EtStatusBarClass EtStatusBarClass; 31 32 struct _EtStatusBar 33 { 34 /*< private >*/ 35 GtkStatusbar parent_instance; 36 }; 37 38 struct _EtStatusBarClass 39 { 40 /*< private >*/ 41 GtkStatusbarClass parent_class; 42 }; 43 44 GType et_status_bar_get_type (void); 45 GtkWidget * et_status_bar_new (void); 46 void et_status_bar_message (EtStatusBar *self, const gchar *message, gboolean with_timer); 47 48 G_END_DECLS 49 50 #endif /* ET_STATUS_BAR_H_ */ 51