Debian Codegraph @

src/libqmi-glib/qmi-enums-pdc.h

raw
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * libqmi-glib -- GLib/GIO based library to control QMI devices
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301 USA.
19 *
20 * Copyright (C) 2012 Google Inc.
21 * Copyright (C) 2012-2017 Aleksander Morgado <[email protected]>
22 */
23
24 #ifndef _LIBQMI_GLIB_QMI_ENUMS_PDC_H_
25 #define _LIBQMI_GLIB_QMI_ENUMS_PDC_H_
26
27 #if !defined (__LIBQMI_GLIB_H_INSIDE__) && !defined (LIBQMI_GLIB_COMPILATION)
28 #error "Only <libqmi-glib.h> can be included directly."
29 #endif
30
31 /**
32 * SECTION: qmi-enums-pdc
33 * @title: PDC enumerations and flags
34 * @short_description: Enumerations and flags in the PDC service.
35 *
36 * This section defines enumerations and flags used in the PDC service
37 * interface.
38 */
39
40 /*****************************************************************************/
41 /* Helper enums for the 'QMI PDC' calls */
42
43 /**
44 * QmiPdcConfigurationType:
45 * @QMI_PDC_CONFIGURATION_TYPE_PLATFORM: Platform
46 * @QMI_PDC_CONFIGURATION_TYPE_SOFTWARE: Software
47 *
48 * Configuration type for change/load configuration.
49 *
50 * Since: 1.18
51 */
52 typedef enum { /*< since=1.18 >*/
53 QMI_PDC_CONFIGURATION_TYPE_PLATFORM = 0,
54 QMI_PDC_CONFIGURATION_TYPE_SOFTWARE = 1,
55 } QmiPdcConfigurationType;
56
57 /**
58 * QmiPdcRefreshEventType:
59 * @QMI_PDC_REFRESH_START: Refresh start event
60 * @QMI_PDC_REFRESH_COMPLETE: Refresh complete event
61 * @QMI_PDC_REFRESH_CLIENT_REFRESH: Client refresh event
62 *
63 * Refresh event type.
64 *
65 * Since: 1.32
66 */
67 typedef enum { /*< since=1.32 >*/
68 QMI_PDC_REFRESH_START = 0,
69 QMI_PDC_REFRESH_COMPLETE = 1,
70 QMI_PDC_REFRESH_CLIENT_REFRESH = 2,
71 } QmiPdcRefreshEventType;
72
73 #endif /* _LIBQMI_GLIB_QMI_ENUMS_PDC_H_ */