about summary refs log tree commit diff
path: root/libnm-glib/nm-vpn-enum-types.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-glib/nm-vpn-enum-types.c')
-rw-r--r--libnm-glib/nm-vpn-enum-types.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/libnm-glib/nm-vpn-enum-types.c b/libnm-glib/nm-vpn-enum-types.c
index fb0de17c..0dc5ed23 100644
--- a/libnm-glib/nm-vpn-enum-types.c
+++ b/libnm-glib/nm-vpn-enum-types.c
@@ -36,6 +36,27 @@ nm_vpn_plugin_error_get_type (void)
   return g_define_type_id__volatile;
 }
 GType
+nm_vpn_plugin_ui_capability_get_type (void)
+{
+  static volatile gsize g_define_type_id__volatile = 0;
+
+  if (g_once_init_enter (&g_define_type_id__volatile))
+    {
+      static const GFlagsValue values[] = {
+        { NM_VPN_PLUGIN_UI_CAPABILITY_NONE, "NM_VPN_PLUGIN_UI_CAPABILITY_NONE", "none" },
+        { NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT, "NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT", "import" },
+        { NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT, "NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT", "export" },
+        { NM_VPN_PLUGIN_UI_CAPABILITY_IPV6, "NM_VPN_PLUGIN_UI_CAPABILITY_IPV6", "ipv6" },
+        { 0, NULL, NULL }
+      };
+      GType g_define_type_id =
+        g_flags_register_static (g_intern_static_string ("NMVpnPluginUiCapability"), values);
+      g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
+    }
+
+  return g_define_type_id__volatile;
+}
+GType
 nm_vpn_plugin_ui_interface_prop_get_type (void)
 {
   static volatile gsize g_define_type_id__volatile = 0;