/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/utils/eh_status_bar.h

Go to the documentation of this file.
00001 #ifndef __EH_STATUS_BAR_H__
00002 #define __EH_STATUS_BAR_H__
00003 
00004 #include <glib.h>
00005 
00006 typedef enum
00007 {
00008    EH_STATUS_BAR_RUNNING ,
00009    EH_STATUS_BAR_PAUSED  ,
00010    EH_STATUS_BAR_STOPPED
00011 }
00012 Eh_status_bar_status;
00013 
00014 //typedef struct _Eh_status_bar Eh_Status_bar;
00015 typedef struct
00016 {
00017    double*  cur;
00018    double*  end;
00019    GThread* t;
00020    GTimer*  timer;
00021    GMutex*  mutex;
00022    Eh_status_bar_status status;
00023 }
00024 Eh_status_bar;
00025 
00026 Eh_status_bar* eh_status_bar_new       ( double* cur , double* end );
00027 Eh_status_bar* eh_status_bar_stop      ( Eh_status_bar* b );
00028 gboolean       eh_status_bar_is_stopped( Eh_status_bar* b );
00029 Eh_status_bar* eh_status_bar_pause     ( Eh_status_bar* b );
00030 Eh_status_bar* eh_status_bar_destroy   ( Eh_status_bar* b );
00031 
00032 gchar*   eh_render_time_str( double sec );
00033 
00034 #endif /* eh_status_bar.h */
00035 
00036 

Generated on Fri Jan 4 18:04:16 2008 for sedflux by  doxygen 1.5.2