-rw-r--r-- | gammu/emb/common/gsmstate.h | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/gammu/emb/common/gsmstate.h b/gammu/emb/common/gsmstate.h index 2b4806c..6861fbc 100644 --- a/gammu/emb/common/gsmstate.h +++ b/gammu/emb/common/gsmstate.h | |||
@@ -369,24 +369,25 @@ typedef enum { | |||
369 | ID_GetIMEI, | 369 | ID_GetIMEI, |
370 | ID_GetDateTime, | 370 | ID_GetDateTime, |
371 | ID_GetAlarm, | 371 | ID_GetAlarm, |
372 | ID_GetMemory, | 372 | ID_GetMemory, |
373 | ID_GetMemoryStatus, | 373 | ID_GetMemoryStatus, |
374 | ID_GetSMSC, | 374 | ID_GetSMSC, |
375 | ID_GetSMSMessage, | 375 | ID_GetSMSMessage, |
376 | ID_EnableEcho, | 376 | ID_EnableEcho, |
377 | ID_EnableErrorInfo, | 377 | ID_EnableErrorInfo, |
378 | ID_SetOBEX, | 378 | ID_SetOBEX, |
379 | ID_SetUSSD, | 379 | ID_SetUSSD, |
380 | ID_GetNote, | 380 | ID_GetNote, |
381 | ID_SetNote, | ||
381 | ID_GetSignalQuality, | 382 | ID_GetSignalQuality, |
382 | ID_GetBatteryCharge, | 383 | ID_GetBatteryCharge, |
383 | ID_GetSMSFolders, | 384 | ID_GetSMSFolders, |
384 | ID_GetSMSFolderStatus, | 385 | ID_GetSMSFolderStatus, |
385 | ID_GetSMSStatus, | 386 | ID_GetSMSStatus, |
386 | ID_AddSMSFolder, | 387 | ID_AddSMSFolder, |
387 | ID_GetNetworkInfo, | 388 | ID_GetNetworkInfo, |
388 | ID_GetRingtone, | 389 | ID_GetRingtone, |
389 | ID_DialVoice, | 390 | ID_DialVoice, |
390 | ID_GetCalendarNotesInfo, | 391 | ID_GetCalendarNotesInfo, |
391 | ID_GetCalendarNote, | 392 | ID_GetCalendarNote, |
392 | ID_GetSecurityCode, | 393 | ID_GetSecurityCode, |
@@ -1281,27 +1282,52 @@ typedef struct { | |||
1281 | * Deletes all calendar entries. | 1282 | * Deletes all calendar entries. |
1282 | */ | 1283 | */ |
1283 | GSM_Error (*DeleteAllCalendar) (GSM_StateMachine *s); | 1284 | GSM_Error (*DeleteAllCalendar) (GSM_StateMachine *s); |
1284 | /** | 1285 | /** |
1285 | * Reads calendar settings. | 1286 | * Reads calendar settings. |
1286 | */ | 1287 | */ |
1287 | GSM_Error (*GetCalendarSettings)(GSM_StateMachine *s, GSM_CalendarSettings *settings); | 1288 | GSM_Error (*GetCalendarSettings)(GSM_StateMachine *s, GSM_CalendarSettings *settings); |
1288 | /** | 1289 | /** |
1289 | * Sets calendar settings. | 1290 | * Sets calendar settings. |
1290 | */ | 1291 | */ |
1291 | GSM_Error (*SetCalendarSettings)(GSM_StateMachine *s, GSM_CalendarSettings *settings); | 1292 | GSM_Error (*SetCalendarSettings)(GSM_StateMachine *s, GSM_CalendarSettings *settings); |
1292 | /** | 1293 | /** |
1293 | * Gets note. | 1294 | * Retrieves notes status (number of used entries). |
1294 | */ | 1295 | */ |
1295 | GSM_Error (*GetNextNote)(GSM_StateMachine *s, GSM_NoteEntry *Note, bool refresh); | 1296 | GSM_Error (*GetNotesStatus) (GSM_StateMachine *s, GSM_ToDoStatus *status); |
1297 | /** | ||
1298 | * Retrieves notes entry. | ||
1299 | */ | ||
1300 | GSM_Error (*GetNote) (GSM_StateMachine *s, GSM_NoteEntry *Note); | ||
1301 | /** | ||
1302 | * Retrieves note entry. This is useful for continuous reading of all | ||
1303 | * notes entries. | ||
1304 | */ | ||
1305 | GSM_Error (*GetNextNote) (GSM_StateMachine *s, GSM_NoteEntry *Note, bool start); | ||
1306 | /** | ||
1307 | * Sets note entry | ||
1308 | */ | ||
1309 | GSM_Error (*SetNote) (GSM_StateMachine *s, GSM_NoteEntry *Note); | ||
1310 | /** | ||
1311 | * Adds note entry. | ||
1312 | */ | ||
1313 | GSM_Error (*AddNote) (GSM_StateMachine *s, GSM_NoteEntry *Note); | ||
1314 | /** | ||
1315 | * Deletes note entry. | ||
1316 | */ | ||
1317 | GSM_Error (*DeleteNote) (GSM_StateMachine *s, GSM_NoteEntry *Note); | ||
1318 | /** | ||
1319 | * Deletes all notes entries. | ||
1320 | */ | ||
1321 | GSM_Error (*DeleteAllNotes) (GSM_StateMachine *s); | ||
1296 | /** | 1322 | /** |
1297 | * Reads profile. | 1323 | * Reads profile. |
1298 | */ | 1324 | */ |
1299 | GSM_Error (*GetProfile) (GSM_StateMachine *s, GSM_Profile *Profile); | 1325 | GSM_Error (*GetProfile) (GSM_StateMachine *s, GSM_Profile *Profile); |
1300 | /** | 1326 | /** |
1301 | * Updates profile. | 1327 | * Updates profile. |
1302 | */ | 1328 | */ |
1303 | GSM_Error (*SetProfile) (GSM_StateMachine *s, GSM_Profile *Profile); | 1329 | GSM_Error (*SetProfile) (GSM_StateMachine *s, GSM_Profile *Profile); |
1304 | /** | 1330 | /** |
1305 | * Reads FM station. | 1331 | * Reads FM station. |
1306 | */ | 1332 | */ |
1307 | GSM_Error (*GetFMStation) (GSM_StateMachine *s, GSM_FMStation *FMStation); | 1333 | GSM_Error (*GetFMStation) (GSM_StateMachine *s, GSM_FMStation *FMStation); |