-rw-r--r-- | gammu/emb/common/gsmstate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gammu/emb/common/gsmstate.h b/gammu/emb/common/gsmstate.h index 2b4806c..f15a6a7 100644 --- a/gammu/emb/common/gsmstate.h +++ b/gammu/emb/common/gsmstate.h | |||
@@ -140,49 +140,48 @@ typedef struct _GSM_Reply_Function GSM_Reply_Function; | |||
140 | #ifndef GSM_USED_IRDADEVICE | 140 | #ifndef GSM_USED_IRDADEVICE |
141 | # undef GSM_ENABLE_IRDADEVICE | 141 | # undef GSM_ENABLE_IRDADEVICE |
142 | #endif | 142 | #endif |
143 | #define GSM_ENABLE_BLUETOOTHDEVICE | 143 | #define GSM_ENABLE_BLUETOOTHDEVICE |
144 | #ifndef GSM_USED_BLUETOOTHDEVICE | 144 | #ifndef GSM_USED_BLUETOOTHDEVICE |
145 | # undef GSM_ENABLE_BLUETOOTHDEVICE | 145 | # undef GSM_ENABLE_BLUETOOTHDEVICE |
146 | #endif | 146 | #endif |
147 | 147 | ||
148 | #ifdef DJGPP | 148 | #ifdef DJGPP |
149 | # undef GSM_ENABLE_IRDADEVICE | 149 | # undef GSM_ENABLE_IRDADEVICE |
150 | # undef GSM_ENABLE_IRDAPHONET | 150 | # undef GSM_ENABLE_IRDAPHONET |
151 | # undef GSM_ENABLE_IRDAOBEX | 151 | # undef GSM_ENABLE_IRDAOBEX |
152 | # undef GSM_ENABLE_IRDAAT | 152 | # undef GSM_ENABLE_IRDAAT |
153 | # undef GSM_ENABLE_FBUS2IRDA | 153 | # undef GSM_ENABLE_FBUS2IRDA |
154 | 154 | ||
155 | # undef GSM_ENABLE_BLUETOOTHDEVICE | 155 | # undef GSM_ENABLE_BLUETOOTHDEVICE |
156 | # undef GSM_ENABLE_BLUEPHONET | 156 | # undef GSM_ENABLE_BLUEPHONET |
157 | # undef GSM_ENABLE_BLUEOBEX | 157 | # undef GSM_ENABLE_BLUEOBEX |
158 | # undef GSM_ENABLE_BLUEAT | 158 | # undef GSM_ENABLE_BLUEAT |
159 | # undef GSM_ENABLE_BLUEFBUS2 | 159 | # undef GSM_ENABLE_BLUEFBUS2 |
160 | # undef GSM_ENABLE_PHONETBLUE | 160 | # undef GSM_ENABLE_PHONETBLUE |
161 | # undef GSM_ENABLE_FBUS2BLUE | 161 | # undef GSM_ENABLE_FBUS2BLUE |
162 | # undef GSM_ENABLE_MROUTERBLUE | 162 | # undef GSM_ENABLE_MROUTERBLUE |
163 | #endif | 163 | #endif |
164 | |||
165 | #ifndef WIN32 | 164 | #ifndef WIN32 |
166 | # ifdef ENABLE_LGPL | 165 | # ifdef ENABLE_LGPL |
167 | # undef GSM_ENABLE_IRDADEVICE | 166 | # undef GSM_ENABLE_IRDADEVICE |
168 | # undef GSM_ENABLE_IRDAPHONET | 167 | # undef GSM_ENABLE_IRDAPHONET |
169 | # undef GSM_ENABLE_IRDAOBEX | 168 | # undef GSM_ENABLE_IRDAOBEX |
170 | # undef GSM_ENABLE_IRDAAT | 169 | # undef GSM_ENABLE_IRDAAT |
171 | # undef GSM_ENABLE_FBUS2IRDA | 170 | # undef GSM_ENABLE_FBUS2IRDA |
172 | 171 | ||
173 | # undef GSM_ENABLE_BLUETOOTHDEVICE | 172 | # undef GSM_ENABLE_BLUETOOTHDEVICE |
174 | # undef GSM_ENABLE_BLUEPHONET | 173 | # undef GSM_ENABLE_BLUEPHONET |
175 | # undef GSM_ENABLE_BLUEOBEX | 174 | # undef GSM_ENABLE_BLUEOBEX |
176 | # undef GSM_ENABLE_BLUEAT | 175 | # undef GSM_ENABLE_BLUEAT |
177 | # undef GSM_ENABLE_BLUEFBUS2 | 176 | # undef GSM_ENABLE_BLUEFBUS2 |
178 | # undef GSM_ENABLE_PHONETBLUE | 177 | # undef GSM_ENABLE_PHONETBLUE |
179 | # undef GSM_ENABLE_FBUS2BLUE | 178 | # undef GSM_ENABLE_FBUS2BLUE |
180 | # undef GSM_ENABLE_MROUTERBLUE | 179 | # undef GSM_ENABLE_MROUTERBLUE |
181 | # endif | 180 | # endif |
182 | #endif | 181 | #endif |
183 | 182 | ||
184 | #ifdef GSM_ENABLE_SERIALDEVICE | 183 | #ifdef GSM_ENABLE_SERIALDEVICE |
185 | # include "device/serial/ser_w32.h" | 184 | # include "device/serial/ser_w32.h" |
186 | # include "device/serial/ser_unx.h" | 185 | # include "device/serial/ser_unx.h" |
187 | # include "device/serial/ser_djg.h" | 186 | # include "device/serial/ser_djg.h" |
188 | #endif | 187 | #endif |
@@ -1556,24 +1555,25 @@ struct _OnePhoneModel { | |||
1556 | char *number; | 1555 | char *number; |
1557 | char *irdamodel; | 1556 | char *irdamodel; |
1558 | Feature features[12]; | 1557 | Feature features[12]; |
1559 | }; | 1558 | }; |
1560 | 1559 | ||
1561 | bool IsPhoneFeatureAvailable(OnePhoneModel *model, Feature feature); | 1560 | bool IsPhoneFeatureAvailable(OnePhoneModel *model, Feature feature); |
1562 | OnePhoneModel *GetModelData (char *model, char *number, char *irdamodel); | 1561 | OnePhoneModel *GetModelData (char *model, char *number, char *irdamodel); |
1563 | 1562 | ||
1564 | #ifdef __GNUC__ | 1563 | #ifdef __GNUC__ |
1565 | __attribute__((format(printf, 2, 3))) | 1564 | __attribute__((format(printf, 2, 3))) |
1566 | #endif | 1565 | #endif |
1567 | int smprintf(GSM_StateMachine *s, const char *format, ...); | 1566 | int smprintf(GSM_StateMachine *s, const char *format, ...); |
1568 | 1567 | ||
1569 | void GSM_OSErrorInfo(GSM_StateMachine *s, char *description); | 1568 | void GSM_OSErrorInfo(GSM_StateMachine *s, char *description); |
1570 | 1569 | ||
1571 | #ifdef GSM_ENABLE_BACKUP | 1570 | #ifdef GSM_ENABLE_BACKUP |
1572 | void GSM_GetPhoneFeaturesForBackup(GSM_StateMachine *s, GSM_Backup_Info *info); | 1571 | void GSM_GetPhoneFeaturesForBackup(GSM_StateMachine *s, GSM_Backup_Info *info); |
1573 | #endif | 1572 | #endif |
1574 | 1573 | ||
1575 | #endif | 1574 | #endif |
1576 | 1575 | ||
1577 | /* How should editor hadle tabs in this file? Add editor commands here. | 1576 | /* How should editor hadle tabs in this file? Add editor commands here. |
1578 | * vim: noexpandtab sw=8 ts=8 sts=8: | 1577 | * vim: noexpandtab sw=8 ts=8 sts=8: |
1579 | */ | 1578 | */ |
1579 | |||