summaryrefslogtreecommitdiff
path: root/libnm/nm-types.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-11-05 11:01:09 -0500
committerDan Winship <danw@gnome.org>2014-11-07 08:00:32 -0500
commit7c214de45bb4f4adea946a6961b2aab01a678038 (patch)
tree9fcbc3a6e3037a4990a52668ee4454d219a558fc /libnm/nm-types.h
parent8e99b44f08be88f4574a2b47712c981311f794fc (diff)
downloadNetworkManager-7c214de45bb4f4adea946a6961b2aab01a678038.tar.gz
libnm: rename NMVpnPluginUiInterface, add to NetworkManager.h
Rename NMVpnPluginUiInterface to NMVpnEditorPlugin (to clarify that it's unrelated to NMVpnPlugin), and add it to NetworkManager.h. Rename NMVpnPluginUiWidgetInterface to NMVpnEditor, because it's not a widget, and will soon be used for non-gui editing too. (Also, add a placeholder for the method that non-gui editing will use.) Fix the typedefs to not mix up the (dummy) NMVpnEditorPlugin and NMVpnEditor types with the types of their interface structs. Update to use G_DEFINE_INTERFACE. Drop NMVpnPluginUiInterfaceProp; it doesn't matter what codes plugin implementations use for the interface properties that they implement.
Diffstat (limited to 'libnm/nm-types.h')
-rw-r--r--libnm/nm-types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm/nm-types.h b/libnm/nm-types.h
index 3602878a6a..2e62ffdea3 100644
--- a/libnm/nm-types.h
+++ b/libnm/nm-types.h
@@ -49,6 +49,8 @@ typedef struct _NMObject NMObject;
typedef struct _NMRemoteConnection NMRemoteConnection;
typedef struct _NMSecretAgent NMSecretAgent;
typedef struct _NMVpnConnection NMVpnConnection;
+typedef struct _NMVpnEditorPlugin NMVpnEditorPlugin;
+typedef struct _NMVpnEditor NMVpnEditor;
typedef struct _NMWimaxNsp NMWimaxNsp;
#endif /* NM_TYPES_H */