Blame shared/nm-default.h

Packit Service d328f3
/* NetworkManager -- Network link manager
Packit Service d328f3
 *
Packit Service d328f3
 * This library is free software; you can redistribute it and/or
Packit Service d328f3
 * modify it under the terms of the GNU Lesser General Public
Packit Service d328f3
 * License as published by the Free Software Foundation; either
Packit Service d328f3
 * version 2 of the License, or (at your option) any later version.
Packit Service d328f3
 *
Packit Service d328f3
 * This library is distributed in the hope that it will be useful,
Packit Service d328f3
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service d328f3
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service d328f3
 * Lesser General Public License for more details.
Packit Service d328f3
 *
Packit Service d328f3
 * You should have received a copy of the GNU Lesser General Public
Packit Service d328f3
 * License along with this library; if not, write to the
Packit Service d328f3
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Packit Service d328f3
 * Boston, MA 02110-1301 USA.
Packit Service d328f3
 *
Packit Service d328f3
 * (C) Copyright 2015 Red Hat, Inc.
Packit Service d328f3
 */
Packit Service d328f3
Packit Service d328f3
#ifndef __NM_DEFAULT_H__
Packit Service d328f3
#define __NM_DEFAULT_H__
Packit Service d328f3
Packit Service d328f3
/* makefiles define NETWORKMANAGER_COMPILATION for compiling NetworkManager.
Packit Service d328f3
 * Depending on which parts are compiled, different values are set. */
Packit Service d328f3
#define NM_NETWORKMANAGER_COMPILATION_DEFAULT             0x0001
Packit Service d328f3
#define NM_NETWORKMANAGER_COMPILATION_LIB                 0x0002
Packit Service d328f3
Packit Service d328f3
#ifndef NETWORKMANAGER_COMPILATION
Packit Service d328f3
/* For convenience, we don't require our Makefile.am to define
Packit Service d328f3
 * -DNETWORKMANAGER_COMPILATION. As we now include this internal header,
Packit Service d328f3
 *  we know we do a NETWORKMANAGER_COMPILATION. */
Packit Service d328f3
#define NETWORKMANAGER_COMPILATION NM_NETWORKMANAGER_COMPILATION_DEFAULT
Packit Service d328f3
#endif
Packit Service d328f3
Packit Service d328f3
/*****************************************************************************/
Packit Service d328f3
Packit Service d328f3
/* always include these headers for our internal source files. */
Packit Service d328f3
Packit Service d328f3
#ifndef ___CONFIG_H__
Packit Service d328f3
#define ___CONFIG_H__
Packit Service d328f3
#include <config.h>
Packit Service d328f3
#endif
Packit Service d328f3
Packit Service d328f3
#include <stdlib.h>
Packit Service d328f3
#include <glib.h>
Packit Service d328f3
Packit Service d328f3
#include "nm-utils/nm-macros-internal.h"
Packit Service d328f3
Packit Service d328f3
#include <nm-version.h>
Packit Service d328f3
Packit Service d328f3
#include <gtk/gtk.h>
Packit Service d328f3
Packit Service d328f3
#if ((NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_LIB)
Packit Service d328f3
#include <glib/gi18n-lib.h>
Packit Service d328f3
#else
Packit Service d328f3
#include <glib/gi18n.h>
Packit Service d328f3
#endif
Packit Service d328f3
Packit Service d328f3
#include <NetworkManager.h>
Packit Service d328f3
Packit Service d328f3
#include "nm-libnm-compat.h"
Packit Service d328f3
Packit Service d328f3
#endif /* __NM_DEFAULT_H__ */