libhelpers: include MMSmsEncoding in helper enums generation

This commit is contained in:
Aleksander Morgado
2017-12-18 10:33:46 +01:00
parent e8bac6cb92
commit 332cf9dc01
4 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -72,6 +72,7 @@ EXTRA_DIST += $(udevrules_DATA)
noinst_LTLIBRARIES += libhelpers.la
HELPER_ENUMS_INPUTS = \
$(srcdir)/mm-sms-part.h \
$(srcdir)/mm-modem-helpers.h \
$(NULL)
@@ -82,7 +83,7 @@ HELPER_ENUMS_GENERATED = \
mm-helper-enums-types.h: Makefile.am $(HELPER_ENUMS_INPUTS) $(top_srcdir)/build-aux/mm-enums-template.h
$(AM_V_GEN) $(GLIB_MKENUMS) \
--fhead "#include \"mm-modem-helpers.h\"\n#ifndef __MM_HELPER_ENUMS_TYPES_H__\n#define __MM_HELPER_ENUMS_TYPES_H__\n" \
--fhead "#include \"mm-sms-part.h\"\n#include \"mm-modem-helpers.h\"\n#ifndef __MM_HELPER_ENUMS_TYPES_H__\n#define __MM_HELPER_ENUMS_TYPES_H__\n" \
--template $(top_srcdir)/build-aux/mm-enums-template.h \
--ftail "#endif /* __MM_HELPER_ENUMS_TYPES_H__ */\n" \
$(HELPER_ENUMS_INPUTS) > $@
+1 -1
View File
@@ -18,7 +18,7 @@
#define MM_SMS_PART_3GPP_H
#include <glib.h>
#include <ModemManager-enums.h>
#include <ModemManager.h>
#include "mm-sms-part.h"
+1 -1
View File
@@ -17,7 +17,7 @@
#define MM_SMS_PART_CDMA_H
#include <glib.h>
#include <ModemManager-enums.h>
#include <ModemManager.h>
#include "mm-sms-part.h"
+2 -2
View File
@@ -18,9 +18,9 @@
#define MM_SMS_PART_H
#include <glib.h>
#include <ModemManager-enums.h>
#include <ModemManager.h>
typedef enum {
typedef enum { /*< underscore_name=mm_sms_encoding >*/
MM_SMS_ENCODING_UNKNOWN = 0x0,
MM_SMS_ENCODING_GSM7,
MM_SMS_ENCODING_8BIT,