libnm: add NetworkManager.h, disallow including individual headers

Add NetworkManager.h, which includes all of the other NM header, and
require all external users of libnm to use that rather than the
individual headers.

(An exception is made for nm-dbus-interface.h,
nm-vpn-dbus-interface.h, and nm-version.h, which can be included
separately.)
This commit is contained in:
Dan Winship
2014-07-06 16:53:02 -04:00
parent 3ddce74803
commit d0b05b34d5
162 changed files with 394 additions and 206 deletions

View File

@@ -28,13 +28,7 @@
*/
#include <glib.h>
#include <nm-remote-settings.h>
#include <nm-connection.h>
#include <nm-setting-connection.h>
#include <nm-setting-wired.h>
#include <nm-setting-ip4-config.h>
#include <nm-utils.h>
#include <NetworkManager.h>
static void
added_cb (NMRemoteSettings *settings,