Separate stopwatch functionality into unique source file.
[stopish] / src / stopish.h
index 151a5cf..1b87d87 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef __STOPISH_H__
 #define __STOPISH_H__
 
 #ifndef __STOPISH_H__
 #define __STOPISH_H__
 
+#include <libosso.h>
+
 #define STOPISH_MODE_START  0
 #define STOPISH_MODE_PAUSE  1
 #define STOPISH_MODE_RESUME 2
 #define STOPISH_MODE_START  0
 #define STOPISH_MODE_PAUSE  1
 #define STOPISH_MODE_RESUME 2
 gint dbus_callback( const gchar *interface, const gchar *method,
                        GArray *arguments, gpointer data, osso_rpc_t *retval );
 int stopish_get_mode( void );
 gint dbus_callback( const gchar *interface, const gchar *method,
                        GArray *arguments, gpointer data, osso_rpc_t *retval );
 int stopish_get_mode( void );
+int stopish_get_orientation( void );
+void stopish_set_mode( int newMode );
+
+// stopish-stopwatch.c
+GtkWindow *stopish_stopwatch_new( 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 );
+void stopish_stopwatch_label_timer_portrait( void );
 
 // timer.c
 char *stopish_get_time_string( void );
 
 // timer.c
 char *stopish_get_time_string( void );