/*
+ $Id$
+
X G N O K I I
A Linux/Unix GUI for Nokia mobile phones.
+ Copyright (C) 1999 Pavel Janík ml., Hugh Blemings
+ & Ján Derfiòák <ja@mail.upjs.sk>.
Released under the terms of the GNU GPL, see file COPYING for more details.
+ $Log$
+ Revision 1.1.1.4 2002/04/03 00:08:33 short
+ Found in "gnokii-working" directory, some November-patches version
+
+ Revision 1.9 2001/09/14 13:09:26 pkot
+ Xgnokii calendar updates
+
+ Revision 1.8 2001/02/02 08:09:57 ja
+ New dialogs for 6210/7110 in xgnokii. Fixed the smsd for new capabilty code.
+
+ Revision 1.7 2001/01/29 15:22:22 machek
+ Use integer as bitfield instead of struct of int:1.
+
+ Be able to read phonebook saved in gnokii format from xgnokii.
+
+ Revision 1.6 2001/01/17 02:54:57 chris
+ More 7110 work. Use with care! (eg it is not possible to delete phonebook entries)
+ I can now edit my phonebook in xgnokii but it is 'work in progress'.
+
+ Revision 1.5 2001/01/15 21:10:20 ja
+ Better status reporting in xgnokii, fixed phone capabilities detection in xgnokii.
+
+
*/
#ifndef XGNOKII_LOWLEVEL_H
#include <pthread.h>
#include <glib.h>
-#include "gsm-api.h"
+#include "gsm-common.h"
#define INCALL_NUMBER_LENGTH 20
#define NETMON_SCREEN_LENGTH 60
Event_GetSMSCenter,
Event_SetSMSCenter,
Event_SendSMSMessage,
+ Event_SaveSMSMessage,
Event_DeleteSMSMessage,
Event_GetSpeedDial,
Event_SendSpeedDial,
typedef struct {
gint min;
gint max;
- gint used;
GSM_MemoryType type;
gint status;
gint (*InsertEntry)(GSM_PhonebookEntry *);
} phone;
struct {
gint unRead;
- gint number;
- gint number2;
+ gint used;
+ gint slots;
GSList *messages;
} sms;
struct {
gchar screen4[NETMON_SCREEN_LENGTH];
gchar screen5[NETMON_SCREEN_LENGTH];
} netmonitor;
+ gint supported;
} PhoneMonitor;
extern pthread_t monitor_th;
extern pthread_mutex_t smsMutex;
extern pthread_mutex_t sendSMSMutex;
extern pthread_cond_t sendSMSCond;
+extern pthread_mutex_t saveSMSMutex;
+extern pthread_cond_t saveSMSCond;
extern pthread_mutex_t callMutex;
extern pthread_mutex_t netMonMutex;
extern pthread_mutex_t speedDialMutex;
extern void *GUI_Connect (void *a);
extern void GUI_InsertEvent (PhoneEvent *event);
-extern void RefreshSMS (const gint number);
-
#endif