Flag the presence of the DBUS dict VPN interface
- From: Antony J Mee <A J Mee ncl ac uk>
- To: networkmanager-list <networkmanager-list gnome org>
- Subject: Flag the presence of the DBUS dict VPN interface
- Date: Wed, 20 Sep 2006 15:36:28 +0100
Dan,
While there is a change-over period... Could we have a #define to flag
that the version of NetworkManager against which a plugin is compiled
can use the new dict based interface?
I have held back on committing the PPTP plugin changes for fear of it
breaking for people.  If there was a flag in place I could keep both the
old and the new code for now.
(suggested patch attached)
tOnY
Index: include/NetworkManagerVPN.h
===================================================================
RCS file: /cvs/gnome/NetworkManager/include/NetworkManagerVPN.h,v
retrieving revision 1.1
diff -U3 -r1.1 NetworkManagerVPN.h
--- include/NetworkManagerVPN.h	6 Dec 2005 23:36:26 -0000	1.1
+++ include/NetworkManagerVPN.h	20 Sep 2006 14:38:42 -0000
@@ -23,6 +23,13 @@
 #define NETWORK_MANAGER_VPN_H
 
 /*
+ *  Provide plugins with information that this is a 'new' 
+ *  version of NetworkManager capable of using the DBUS DICT
+ *  VPN interface.
+ */
+#define NM_VPN_USE_DBUS_DICT_INTERFACE
+
+/*
  * dbus services details
  */
 #define	NM_DBUS_PATH_VPN			"/org/freedesktop/NetworkManager/VPNConnections"
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]