VpnEditorPlugin
Object Hierarchy:
Description:
[ CCode ( type_cname = "NMVpnEditorPluginInterface" , type_id = "nm_vpn_editor_plugin_get_type ()" ) ]
public interface VpnEditorPlugin : Object
public interface VpnEditorPlugin : Object
Namespace: NM
Package: libnm
Content:
Properties:
- public abstract string description { owned get; }
Longer description of the VPN plugin.
- public abstract string name { owned get; }
Short display name of the VPN plugin.
- public abstract string service { owned get; }
D-Bus service name of the plugin's VPN service.
Static methods:
- public static VpnEditorPlugin load (string plugin_name, string check_service) throws Error
Load the shared library
plugin_name
and create a new VpnEditorPlugin instance via theNMVpnEditorPluginFactory
function. - public static VpnEditorPlugin load_from_file (string plugin_name, string check_service, int check_owner, UtilsCheckFilePredicate check_file) throws Error
Load the shared library
plugin_name
and create a new VpnEditorPlugin instance via theNMVpnEditorPluginFactory
function.
Methods:
- public bool export (string path, Connection connection) throws Error
- public abstract bool export_to_file (string path, Connection connection) throws Error
- public abstract VpnEditorPluginCapability get_capabilities ()
- public abstract VpnEditor get_editor (Connection connection) throws Error
- public unowned VpnPluginInfo get_plugin_info ()
- public abstract string get_suggested_filename (Connection connection)
- public size_t get_vt (out unowned VpnEditorPluginVT vt, size_t vt_size)
Returns an opaque VT function table for the plugin to extend functionality.
- public abstract unowned VpnEditorPluginVT get_vt_impl (out size_t out_vt_size)
- public Connection import (string path) throws Error
- public abstract void notify_plugin_info_set (VpnPluginInfo plugin_info)
- public void set_plugin_info (VpnPluginInfo? plugin_info)
Set or clear the plugin-info instance.
Inherited Members:
All known members inherited from class GLib.Object