summaryrefslogtreecommitdiff
path: root/src/backend/px-plugin-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/px-plugin-config.h')
-rw-r--r--src/backend/px-plugin-config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/backend/px-plugin-config.h b/src/backend/px-plugin-config.h
index aac62a0..6958df6 100644
--- a/src/backend/px-plugin-config.h
+++ b/src/backend/px-plugin-config.h
@@ -29,9 +29,17 @@ G_BEGIN_DECLS
G_DECLARE_INTERFACE (PxConfig, px_config, PX, CONFIG, GObject)
+enum {
+ PX_CONFIG_PRIORITY_FIRST,
+ PX_CONFIG_PRIORITY_DEFAULT,
+ PX_CONFIG_PRIORITY_LAST,
+};
+
struct _PxConfigInterface
{
GTypeInterface parent_iface;
+ const char *name;
+ gint priority;
gboolean (*is_available) (PxConfig *self);
void (*get_config) (PxConfig *self, GUri *uri, GStrvBuilder *builder);