X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fstopish.h;h=1a43464aa425dd434956aed9aefe6ad95ee10e8b;hb=5ecc62d6d02f797bbbe6b3bc6ef9af42490f610a;hp=986e3ae830ed0cde049c9db00707712e47b09202;hpb=050d4ba087a400a814488651d0c16319f6bf6dd1;p=stopish diff --git a/src/stopish.h b/src/stopish.h index 986e3ae..1a43464 100644 --- a/src/stopish.h +++ b/src/stopish.h @@ -25,18 +25,25 @@ #define STOPISH_MODE_PAUSE 1 #define STOPISH_MODE_RESUME 2 +#define STOPISH_PORTRAIT 0 +#define STOPISH_LANDSCAPE 1 + +#define TIMER_PRECISION_HOUR 0 +#define TIMER_PRECISION_MINUTE 1 + // stopish.c gint dbus_callback( const gchar *interface, const gchar *method, GArray *arguments, gpointer data, osso_rpc_t *retval ); int stopish_get_mode( void ); // timer.c -gint stopish_timeout_cb( gpointer data ); char *stopish_get_time_string( void ); long int stopish_get_time_timer( void ); void stopish_set_time_start( long int time ); void stopish_timer_resume( void ); void stopish_timer_save( void ); long int stopish_current_time( void ); +void stopish_timer_set_precision( int setting ); +int stopish_timer_get_precision( void ); #endif