NetworkManager/clients/tui
Thomas Haller 7bf10a75db build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h"
For libnm library, "nm-dbus-interface.h" contains defines like the D-Bus
paths of NetworkManager. It is desirable to have this header usable without
having a dependency on "glib.h", for example for a QT application. For that,
commit c0852964a8 removed that dependancy.

For libnm-glib library, the analog to "nm-dbus-interface.h" is
"NetworkManager.h", and the same applies there. Commit
159e827a72 removed that include.
However, that broke build on PackageKit [1] which expected to get the
version macros by including "NetworkManager.h". So at least for libnm-glib,
we need to preserve old behavior so that a user including
"NetworkManager.h" gets the version macros, but not "glib.h".

Extract the version macros to a new header file "nm-version-macros.h".
This header doesn't include "glib.h" and can be included from
"NetworkManager.h". This gives as previous behavior and a glib-free
include.

For libnm we still don't include "nm-version-macros.h" to "nm-dbus-interface.h".
Very few users will actually need the version macros, but not using
libnm.
Users that use libnm, should just include (libnm's) "NetworkManager.h" to
get all headers.
As a special case, a user who doesn't want to use glib/libnm, but still
needs both "nm-dbus-interface.h" and "nm-version-macros.h", can include
them both separately.

[1] https://github.com/hughsie/PackageKit/issues/85

Fixes: 4545a7fe96
2015-09-30 23:10:29 +02:00
..
newt build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:10:29 +02:00
Makefile.am build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:10:29 +02:00
nm-editor-bindings.c all: rename nm-glib-compat.h to nm-glib.h, use everywhere 2015-07-24 13:25:47 -04:00
nm-editor-bindings.h tui: fix gateway editing 2014-11-12 16:04:59 -05:00
nm-editor-utils.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-editor-utils.h libnm: merge NMRemoteSettings into NMClient 2014-10-10 12:40:19 -04:00
nmt-address-list.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-address-list.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-connect-connection-list.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-connect-connection-list.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-device-entry.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-device-entry.h tui: rename two classes 2014-11-21 08:58:31 -05:00
nmt-edit-connection-list.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-edit-connection-list.h libnm: change GSList to GPtrArray in libnm methods 2014-10-28 17:17:17 -04:00
nmt-editor-grid.c tui: tweak NmtEditorGrid column rules 2014-11-21 09:01:01 -05:00
nmt-editor-grid.h tui: rename two classes 2014-11-21 08:58:31 -05:00
nmt-editor-page-device.c tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-editor-page-device.h tui: rename two classes 2014-11-21 08:58:31 -05:00
nmt-editor-page.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-editor-page.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-editor-section.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-editor-section.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-editor.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-editor.h libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
nmt-ip-entry.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-ip-entry.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-mac-entry.c tui: fix an NmtMacEntry bug introduced when changing hwaddrs to strings 2014-10-02 13:18:26 -04:00
nmt-mac-entry.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nmt-mtu-entry.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-mtu-entry.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-page-bond.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-bond.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-bridge-port.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-bridge-port.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-bridge.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-bridge.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-dsl.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-dsl.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nmt-page-ethernet.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-ethernet.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-infiniband.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-infiniband.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-ip4.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-ip4.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-ip6.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-ip6.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-ppp.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-ppp.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-team-port.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-team-port.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-team.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-team.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nmt-page-vlan.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-vlan.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-page-wifi.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-page-wifi.h tui: rework how editor pages work 2014-11-21 09:01:01 -05:00
nmt-password-dialog.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-password-dialog.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-password-fields.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-password-fields.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-route-editor.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-route-editor.h libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
nmt-route-entry.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-route-entry.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-route-table.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-route-table.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-slave-list.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-slave-list.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-utils.c clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmt-utils.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nmt-widget-list.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmt-widget-list.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmtui-connect.c tui: fix crash during activation when failed to create secret-agent 2015-09-30 17:33:01 +02:00
nmtui-connect.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmtui-edit.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmtui-edit.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmtui-hostname.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmtui-hostname.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmtui.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmtui.h libnm: merge NMRemoteSettings into NMClient 2014-10-10 12:40:19 -04:00
vpn-helpers.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
vpn-helpers.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00