
Both the ModemManager daemon and the mmcli will now include `libmm-glib.h' only. We also handle two new special `_LIBMM_INSIDE_MM' and `LIBMM_INSIDE_MMCLI' symbols, which if included before the `libmm-glib.h' library allow us to: * Don't include the libmm-glib high level API in the ModemManager daemon, as the object names would clash with those in the core. * Define some of the methods of helper objects to be included only if compiling ModemManager daemon or the mmcli.
69 lines
2.1 KiB
C
69 lines
2.1 KiB
C
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* libmm -- Access modem status & information from glib applications
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
* Boston, MA 02110-1301 USA.
|
|
*
|
|
* Copyright (C) 2011 Google, Inc.
|
|
*/
|
|
|
|
#ifndef _LIBMM_GLIB_H_
|
|
#define _LIBMM_GLIB_H_
|
|
|
|
/* ModemManager generic headers */
|
|
#include <ModemManager.h>
|
|
|
|
/* libmm-glib headers */
|
|
|
|
#if !defined (_LIBMM_INSIDE_MM)
|
|
/* This headers are not exported within ModemManager */
|
|
# include <mm-manager.h>
|
|
# include <mm-object.h>
|
|
# include <mm-modem.h>
|
|
# include <mm-modem-3gpp.h>
|
|
# include <mm-modem-3gpp-ussd.h>
|
|
# include <mm-modem-cdma.h>
|
|
# include <mm-modem-simple.h>
|
|
# include <mm-modem-location.h>
|
|
# include <mm-modem-messaging.h>
|
|
# include <mm-modem-time.h>
|
|
# include <mm-modem-firmware.h>
|
|
#endif
|
|
|
|
#include <mm-common-helpers.h>
|
|
#include <mm-simple-status.h>
|
|
#include <mm-simple-connect-properties.h>
|
|
#include <mm-sms-properties.h>
|
|
#include <mm-bearer-properties.h>
|
|
#include <mm-bearer-ip-config.h>
|
|
#include <mm-location-3gpp.h>
|
|
#include <mm-location-gps-raw.h>
|
|
#include <mm-location-gps-nmea.h>
|
|
#include <mm-unlock-retries.h>
|
|
#include <mm-network-timezone.h>
|
|
#include <mm-firmware-properties.h>
|
|
|
|
/* generated */
|
|
#include <mm-errors-types.h>
|
|
#include <mm-enums-types.h>
|
|
#include <mm-gdbus-manager.h>
|
|
#include <mm-gdbus-modem.h>
|
|
#include <mm-gdbus-bearer.h>
|
|
#include <mm-gdbus-sim.h>
|
|
#include <mm-gdbus-sms.h>
|
|
|
|
#endif /* _LIBMM_GLIB_H_ */
|