summaryrefslogtreecommitdiff
path: root/src/gclue-config.h
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2014-01-16 00:37:07 +0000
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2014-01-16 00:37:07 +0000
commit9a04f5880b1a8c428c4f4fcc7bc176159f13a791 (patch)
tree0b484911717cf9c64a3fd8992e5d10ae51e97aa1 /src/gclue-config.h
parentf6b78f3f4023594b48181bcae81efe22cd8ff67a (diff)
downloadgeoclue-9a04f5880b1a8c428c4f4fcc7bc176159f13a791.tar.gz
config: Minor clean-up
GClueConfig should handle the checking of agent against the whitelist.
Diffstat (limited to 'src/gclue-config.h')
-rw-r--r--src/gclue-config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gclue-config.h b/src/gclue-config.h
index 48b1ff1..1f964b3 100644
--- a/src/gclue-config.h
+++ b/src/gclue-config.h
@@ -25,6 +25,7 @@
#include <gio/gio.h>
#include "geocode-location.h"
+#include "gclue-client-info.h"
G_BEGIN_DECLS
@@ -55,9 +56,9 @@ struct _GClueConfigClass
GType gclue_config_get_type (void) G_GNUC_CONST;
-GClueConfig * gclue_config_get_singleton (void);
-gchar ** gclue_config_get_agents (GClueConfig *config,
- gsize *num_agents);
+GClueConfig * gclue_config_get_singleton (void);
+gboolean gclue_config_is_agent_allowed (GClueConfig *config,
+ GClueClientInfo *agent_info);
G_END_DECLS