Commit f3f28eb0 authored by Zeeshan Ali's avatar Zeeshan Ali

config: API to override data submission nick

parent 80281955
......@@ -333,6 +333,14 @@ gclue_config_get_wifi_submit_nick (GClueConfig *config)
return config->priv->wifi_submit_nick;
gclue_config_set_wifi_submit_nick (GClueConfig *config,
const char *nick)
config->priv->wifi_submit_nick = g_strdup (nick);
gclue_config_get_wifi_submit_data (GClueConfig *config)
......@@ -67,6 +67,8 @@ gboolean gclue_config_is_app_allowed (GClueConfig *config,
const char * gclue_config_get_wifi_url (GClueConfig *config);
const char * gclue_config_get_wifi_submit_url (GClueConfig *config);
const char * gclue_config_get_wifi_submit_nick (GClueConfig *config);
void gclue_config_set_wifi_submit_nick (GClueConfig *config,
const char *nick);
gboolean gclue_config_get_wifi_submit_data (GClueConfig *config);
void gclue_config_set_wifi_submit_data (GClueConfig *config,
gboolean submit);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment