1 /* (c) 2003 by Marcin Wiacek 2 * (C) 2007 Matthias Lechner <matthias@lmme.de> */ 3 4 #ifndef gnapgen_h 5 #define gnapgen_h 6 7 #include "../../gsmstate.h" 8 #include "../../service/gsmmisc.h" 9 10 #ifndef GSM_USED_BLUEGNAPBUS 11 # define GSM_USED_BLUEGNAPBUS 12 #endif 13 #ifndef GSM_USED_IRDAGNAPBUS 14 # define GSM_USED_IRDAGNAPBUS 15 #endif 16 17 typedef struct { 18 int byte1; 19 int byte2; 20 int byte3; 21 int byte4; 22 } TUint32; 23 24 typedef struct { 25 int LastCalendarYear; 26 int LastCalendarPos; 27 GSM_NOKIACalToDoLocations LastCalendar; 28 int FirstCalendarPos; 29 unsigned char CalendarIcons[10]; 30 GSM_CalendarNoteType CalendarIconsTypes[10]; 31 int CalendarIconsNum; 32 33 gboolean LastContactArrived; 34 35 GSM_SMSFolders CurrentSMSFolders; 36 int SMSFolderID[100]; 37 int CurrentFolderNumber; 38 39 TUint32 SMSIDs[5000]; 40 int SMSCount; 41 int CurrentSMSNumber; 42 43 GSM_NOKIACalToDoLocations LastToDo; 44 45 GSM_NOKIACalToDoLocations LastNote; 46 47 int GNAPPLETVer; 48 } GSM_Phone_GNAPGENData; 49 50 #endif 51 52 /* How should editor hadle tabs in this file? Add editor commands here. 53 * vim: noexpandtab sw=8 ts=8 sts=8: 54 */ 55