ergtkbusydialog.h

Go to the documentation of this file.
00001 #ifndef __ERGTK_BUSY_DIALOG_H__
00002 #define __ERGTK_BUSY_DIALOG_H__
00003 
00004 /**
00005  * \file ergtkbusydialog.h
00006  * \brief ereader gtk library - GtkBusyDialog object for ereader system
00007  */
00008  
00009 /*
00010  * This file is part of libergtk.
00011  *
00012  * libergtk is free software: you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation, either version 2 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * libergtk is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00024  */
00025  
00026 /**
00027  * Copyright (C) 2008 iRex Technologies B.V.
00028  * All rights reserved.
00029  */
00030 
00031 G_BEGIN_DECLS
00032 
00033 #define ERGTK_TYPE_BUSY_DIALOG              (ergtk_busy_dialog_get_type ())
00034 #define ERGTK_BUSY_DIALOG(obj)              (G_TYPE_CHECK_INSTANCE_CAST ((obj), ERGTK_TYPE_BUSY_DIALOG, erGtkBusyDialog))
00035 #define ERGTK_BUSY_DIALOG_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass),  ERGTK_TYPE_BUSY_DIALOG, erGtkBusyDialogClass))
00036 #define ERGTK_IS_BUSY_DIALOG(obj)           (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ERGTK_TYPE_BUSY_DIALOG))
00037 #define ERGTK_IS_BUSY_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass),  ERGTK_TYPE_BUSY_DIALOG))
00038 #define ERGTK_BUSY_DIALOG_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj),  ERGTK_TYPE_BUSY_DIALOG, erGtkBusyDialogClass))
00039 
00040 
00041 typedef struct _erGtkBusyDialog       erGtkBusyDialog;
00042 typedef struct _erGtkBusyDialogClass  erGtkBusyDialogClass;
00043 
00044 
00045 struct _erGtkBusyDialog
00046 {
00047   GtkDialog parent; // parent class
00048 
00049   // private
00050   GtkWidget *image;
00051   GtkWidget *label;
00052 };
00053 
00054 
00055 struct _erGtkBusyDialogClass
00056 {
00057   GtkDialogClass parent_class;
00058 
00059   // virtual methods
00060   // signal handlers
00061 };
00062 
00063 
00064 // public functions
00065 GType           ergtk_busy_dialog_get_type      (void) G_GNUC_CONST;
00066 GtkWidget       *ergtk_busy_dialog_new          (const gchar *label_text);
00067 
00068 
00069 G_END_DECLS
00070 
00071 #endif  // __ERGTK_BUSY_DIALOG_H__
Generated by  doxygen 1.6.2-20100208