Commit 80281955 authored by Zeeshan Ali's avatar Zeeshan Ali

config: API to override data submission

parent 57d456f7
......@@ -338,3 +338,11 @@ gclue_config_get_wifi_submit_data (GClueConfig *config)
{
return config->priv->wifi_submit;
}
void
gclue_config_set_wifi_submit_data (GClueConfig *config,
gboolean submit)
{
config->priv->wifi_submit = submit;
}
......@@ -68,6 +68,8 @@ 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);
gboolean gclue_config_get_wifi_submit_data (GClueConfig *config);
void gclue_config_set_wifi_submit_data (GClueConfig *config,
gboolean submit);
G_END_DECLS
......
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