summaryrefslogtreecommitdiff
path: root/src/libtracker-common/tracker-locale.h
diff options
context:
space:
mode:
authorPhilip Van Hoof <philip@codeminded.be>2011-04-04 12:28:31 +0200
committerPhilip Van Hoof <philip@codeminded.be>2011-04-05 15:11:31 +0200
commitf295cd25082db384afce5d7c199c032397caa4f2 (patch)
treea969a8c4698b8adff8a1d7443a71db727a2378ae /src/libtracker-common/tracker-locale.h
parent8902ea5d757cfb369713e1fd6f3a3bfffe181644 (diff)
downloadtracker-f295cd25082db384afce5d7c199c032397caa4f2.tar.gz
libtracker-common: Remove reading meegotouch locale config over GConf
Diffstat (limited to 'src/libtracker-common/tracker-locale.h')
-rw-r--r--src/libtracker-common/tracker-locale.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/libtracker-common/tracker-locale.h b/src/libtracker-common/tracker-locale.h
index 49dac0b3f..a7c29341c 100644
--- a/src/libtracker-common/tracker-locale.h
+++ b/src/libtracker-common/tracker-locale.h
@@ -39,25 +39,28 @@ typedef enum {
} TrackerLocaleID;
/* Callback for the notification of locale changes */
-typedef void (* TrackerLocaleNotifyFunc) (TrackerLocaleID id,
- gpointer user_data);
+typedef void (* TrackerLocaleNotifyFunc) (TrackerLocaleID id,
+ gpointer user_data);
/* Get the current locale of the given type.
* Note that it returns a newly-allocated string which should be g_free()-ed
*/
-gchar *tracker_locale_get (TrackerLocaleID id);
+gchar *tracker_locale_get (TrackerLocaleID id);
/* Adds a new subscriber to locale change notifications.
* Returns a pointer which identifies the subscription.
*/
-gpointer tracker_locale_notify_add (TrackerLocaleID id,
- TrackerLocaleNotifyFunc func,
- gpointer user_data,
- GFreeFunc destroy_notify);
+gpointer tracker_locale_notify_add (TrackerLocaleID id,
+ TrackerLocaleNotifyFunc func,
+ gpointer user_data,
+ GFreeFunc destroy_notify);
/* Remove a given subscriber, passing the id you got in _add() */
-void tracker_locale_notify_remove (gpointer notification_id);
+void tracker_locale_notify_remove (gpointer notification_id);
+const gchar* tracker_locale_get_name (guint i);
+void tracker_locale_set (TrackerLocaleID id,
+ const gchar *value);
G_END_DECLS