| 1 | |
| 2 | // Example of a enum in C which has different syntax and different support in Sphinx to the C++ enum |
| 3 | |
| 4 | /** |
| 5 | * Backup data. |
| 6 | * |
| 7 | * \ingroup Backup |
| 8 | */ |
| 9 | typedef enum { |
| 10 | /** |
| 11 | * Compatibility with old gboolean used instead of format. |
| 12 | * |
| 13 | * File type is guessed for extension, non unicode format used |
| 14 | * for Gammu backup. |
| 15 | */ |
| 16 | GSM_Backup_Auto = 0, |
| 17 | /** |
| 18 | * Compatibility with old gboolean used instead of format. |
| 19 | * |
| 20 | * File type is guessed for extension, unicode format used |
| 21 | * for Gammu backup. |
| 22 | */ |
| 23 | GSM_Backup_AutoUnicode = 1, |
| 24 | /** |
| 25 | * LMB format, compatible with Logo manager, can store |
| 26 | * phonebooks and logos. |
| 27 | */ |
| 28 | GSM_Backup_LMB, |
| 29 | /** |
| 30 | * vCalendar standard, can store todo and calendar entries. |
| 31 | */ |
| 32 | GSM_Backup_VCalendar, |
| 33 | /** |
| 34 | * vCard standard, can store phone phonebook entries. |
| 35 | */ |
| 36 | GSM_Backup_VCard, |
| 37 | /** |
| 38 | * LDIF (LDAP Data Interchange Format), can store phone |
| 39 | * phonebook entries. |
| 40 | */ |
| 41 | GSM_Backup_LDIF, |
| 42 | /** |
| 43 | * iCalendar standard, can store todo and calendar entries. |
| 44 | */ |
| 45 | GSM_Backup_ICS, |
| 46 | /** |
| 47 | * Gammu own format can store almost anything from phone. |
| 48 | * |
| 49 | * This is ASCII version of the format, Unicode strings are HEX |
| 50 | * encoded. Use GSM_Backup_GammuUCS2 instead if possible. |
| 51 | */ |
| 52 | GSM_Backup_Gammu, |
| 53 | /** |
| 54 | * Gammu own format can store almost anything from phone. |
| 55 | * |
| 56 | * This is UCS2-BE version of the format. |
| 57 | */ |
| 58 | GSM_Backup_GammuUCS2, |
| 59 | /** |
| 60 | * vNote standard, can store phone notes. |
| 61 | */ |
| 62 | GSM_Backup_VNote, |
| 63 | } GSM_BackupFormat; |