From 7c214de45bb4f4adea946a6961b2aab01a678038 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 5 Nov 2014 11:01:09 -0500 Subject: 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. --- libnm/nm-types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libnm/nm-types.h') 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 */ -- cgit v1.2.1