X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fstopish.h;fp=src%2Fstopish.h;h=d5d378cb1154c271d8745dc1ad01b9cbff5f92a8;hb=f293aee603c7b4abfb88e3bf8ba44cad54cc2e91;hp=1b87d8747ac559b3b4e534304954f1fa4c0c8349;hpb=24378226940341b1a14ef3039042f8d643f570ec;p=stopish diff --git a/src/stopish.h b/src/stopish.h index 1b87d87..d5d378c 100644 --- a/src/stopish.h +++ b/src/stopish.h @@ -23,10 +23,16 @@ #include +#define STOPISH_VERSION_NUM 0.9.3 +#define STOPISH_VERSION_STR "0.9.3" + #define STOPISH_MODE_START 0 #define STOPISH_MODE_PAUSE 1 #define STOPISH_MODE_RESUME 2 +#define STOPISH_TYPE_STOPWATCH 0 +#define STOPISH_TYPE_COUNTDOWN 1 + #define STOPISH_PORTRAIT 0 #define STOPISH_LANDSCAPE 1 @@ -36,12 +42,25 @@ // stopish.c gint dbus_callback( const gchar *interface, const gchar *method, GArray *arguments, gpointer data, osso_rpc_t *retval ); +void stopish_about_cb( GtkButton* button, gpointer data ); int stopish_get_mode( void ); +int stopish_get_type( void ); int stopish_get_orientation( void ); void stopish_set_mode( int newMode ); +void stopish_set_type( int newType ); +gboolean stopish_focus_in_cb( GtkWidget *widget, GdkEventFocus *event, + gpointer data ); +gboolean stopish_focus_out_cb( GtkWidget *widget, GdkEventFocus *event, + gpointer data ); + +// stopish-countdown.c +void stopish_countdown_new( void ); +void stopish_countdown_label_timer_landscape( void ); +void stopish_countdown_label_timer_portrait( void ); // stopish-stopwatch.c GtkWindow *stopish_stopwatch_new( void ); +void stopish_stopwatch_reset( void ); void stopish_stopwatch_perf_timer_hour( GtkRadioButton* radio, GtkLabel *label ); void stopish_stopwatch_perf_timer_minute( GtkRadioButton* radio, GtkLabel *label ); void stopish_stopwatch_label_timer_landscape( void );