summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/service/gsmcal.h
Unidiff
Diffstat (limited to 'gammu/emb/common/service/gsmcal.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/common/service/gsmcal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gammu/emb/common/service/gsmcal.h b/gammu/emb/common/service/gsmcal.h
index 067a4a4..0a41b7b 100644
--- a/gammu/emb/common/service/gsmcal.h
+++ b/gammu/emb/common/service/gsmcal.h
@@ -360,86 +360,86 @@ typedef struct {
360 unsigned int Number; 360 unsigned int Number;
361} GSM_SubToDoEntry; 361} GSM_SubToDoEntry;
362 362
363/** 363/**
364 * To do entry. 364 * To do entry.
365 */ 365 */
366typedef struct { 366typedef struct {
367 /** 367 /**
368 * Priority of entry. 368 * Priority of entry.
369 */ 369 */
370 GSM_ToDo_Priority Priority; 370 GSM_ToDo_Priority Priority;
371 /** 371 /**
372 * Location in memory. 372 * Location in memory.
373 */ 373 */
374 int Location; 374 int Location;
375 /** 375 /**
376 * Number of entries. 376 * Number of entries.
377 */ 377 */
378 int EntriesNum; 378 int EntriesNum;
379 /** 379 /**
380 * Values of current entry. 380 * Values of current entry.
381 */ 381 */
382 GSM_SubToDoEntryEntries[GSM_TODO_ENTRIES]; 382 GSM_SubToDoEntryEntries[GSM_TODO_ENTRIES];
383} GSM_ToDoEntry; 383} GSM_ToDoEntry;
384 384
385void GSM_ToDoFindDefaultTextTimeAlarmCompleted(GSM_ToDoEntry *entry, int *Text, int *Alarm, int *Completed, int *EndTime, int *Phone); 385void GSM_ToDoFindDefaultTextTimeAlarmCompleted(GSM_ToDoEntry *entry, int *Text, int *Alarm, int *Completed, int *EndTime, int *Phone);
386 386
387typedef enum { 387typedef enum {
388 Nokia_VToDo = 1, 388 Nokia_VToDo = 1,
389 SonyEricsson_VToDo 389 SonyEricsson_VToDo
390} GSM_VToDoVersion; 390} GSM_VToDoVersion;
391 391
392GSM_Error GSM_EncodeVTODO(char *Buffer, int *Length, GSM_ToDoEntry *note, bool header, GSM_VToDoVersion Version); 392GSM_Error GSM_EncodeVTODO(char *Buffer, int *Length, GSM_ToDoEntry *note, bool header, GSM_VToDoVersion Version);
393 393
394/** 394/**
395 * Status of to do entries. 395 * Status of to do entries.
396 */ 396 */
397typedef struct { 397typedef struct {
398 /** 398 /**
399 * Number of used positions. 399 * Number of used positions.
400 */ 400 */
401 int Used; 401 int Used;
402} GSM_ToDoStatus; 402} GSM_ToDoStatus;
403 403
404/* --------------------------- note ---------------------------------------- */ 404/* --------------------------- note ---------------------------------------- */
405 405
406typedef struct { 406typedef struct {
407 int Location; 407 int Location;
408 char Text[100]; 408 char Text[3000*2];
409} GSM_NoteEntry; 409} GSM_NoteEntry;
410 410
411GSM_Error GSM_EncodeVNTFile(unsigned char *Buffer, int *Length, GSM_NoteEntry *Note); 411GSM_Error GSM_EncodeVNTFile(unsigned char *Buffer, int *Length, GSM_NoteEntry *Note);
412 412
413/* --------------------------- alarm --------------------------------------- */ 413/* --------------------------- alarm --------------------------------------- */
414 414
415/** 415/**
416 * Alarm values. 416 * Alarm values.
417 */ 417 */
418typedef struct { 418typedef struct {
419 /** 419 /**
420 * Location where it is stored. 420 * Location where it is stored.
421 */ 421 */
422 int Location; 422 int Location;
423 /** 423 /**
424 * Date and time of alarm. 424 * Date and time of alarm.
425 */ 425 */
426 GSM_DateTime DateTime; 426 GSM_DateTime DateTime;
427 /** 427 /**
428 * Whether it repeats each day. 428 * Whether it repeats each day.
429 */ 429 */
430 bool Repeating; 430 bool Repeating;
431 /** 431 /**
432 * Text that is shown on display. 432 * Text that is shown on display.
433 */ 433 */
434 char Text[(MAX_CALENDAR_TEXT_LENGTH + 1) * 2]; 434 char Text[(MAX_CALENDAR_TEXT_LENGTH + 1) * 2];
435} GSM_Alarm; 435} GSM_Alarm;
436 436
437/* --------------------------- calendar & todo ----------------------------- */ 437/* --------------------------- calendar & todo ----------------------------- */
438 438
439GSM_Error GSM_DecodeVCALENDAR_VTODO(unsigned char *Buffer, int *Pos, GSM_CalendarEntry *Calendar, GSM_ToDoEntry *ToDo, GSM_VCalendarVersion CalVer, GSM_VToDoVersion ToDoVer); 439GSM_Error GSM_DecodeVCALENDAR_VTODO(unsigned char *Buffer, int *Pos, GSM_CalendarEntry *Calendar, GSM_ToDoEntry *ToDo, GSM_VCalendarVersion CalVer, GSM_VToDoVersion ToDoVer);
440 440
441#endif 441#endif
442 442
443/* How should editor hadle tabs in this file? Add editor commands here. 443/* How should editor hadle tabs in this file? Add editor commands here.
444 * vim: noexpandtab sw=8 ts=8 sts=8: 444 * vim: noexpandtab sw=8 ts=8 sts=8:
445 */ 445 */