]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikstatus.h
Decide the 'feature' type is more useful than seeing the country code.
[andy/viking.git] / src / vikstatus.h
index f4aaa5f3e13b81d05d12222959c1f4319aa0f771..a50e706d6126c28834b60528201dfd5f54259b9d 100644 (file)
@@ -44,8 +44,19 @@ struct _VikStatusbarClass
 
 GType vik_statusbar_get_type ();
 
+
+typedef enum {
+  VIK_STATUSBAR_TOOL,
+  VIK_STATUSBAR_ITEMS,
+  VIK_STATUSBAR_ZOOM,
+  VIK_STATUSBAR_INFO,
+  VIK_STATUSBAR_POSITION,
+  VIK_STATUSBAR_NUM_TYPES
+} vik_statusbar_type_t;
+
 VikStatusbar *vik_statusbar_new ();
-void vik_statusbar_set_message ( VikStatusbar *vs, gint field, const gchar *message );
+void vik_statusbar_set_message ( VikStatusbar *vs, vik_statusbar_type_t field, const gchar *message );
 
+G_END_DECLS
 
 #endif