libhelpers: include MMSmsEncoding in helper enums generation
This commit is contained in:
+2
-1
@@ -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) > $@
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user