This commit was generated by cvs2svn to compensate for changes in r158,
[gnokii.git] / xgnokii / xgnokii_lowlevel.h
index 44201fd..a0d8e2b 100644 (file)
@@ -1,11 +1,38 @@
 /*
 
+  $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
@@ -13,7 +40,7 @@
 
 #include <pthread.h>
 #include <glib.h>
-#include "gsm-api.h"
+#include "gsm-common.h"
 
 #define INCALL_NUMBER_LENGTH   20
 #define NETMON_SCREEN_LENGTH   60
@@ -39,6 +66,7 @@ typedef enum {
   Event_GetSMSCenter,
   Event_SetSMSCenter,
   Event_SendSMSMessage,
+  Event_SaveSMSMessage,
   Event_DeleteSMSMessage,
   Event_GetSpeedDial,
   Event_SendSpeedDial,
@@ -99,7 +127,6 @@ typedef struct {
 typedef struct {
   gint min;
   gint max;
-  gint used;
   GSM_MemoryType type;
   gint status;
   gint (*InsertEntry)(GSM_PhonebookEntry *);
@@ -141,8 +168,8 @@ typedef struct {
   } phone;
   struct {
     gint    unRead;
-    gint    number;
-    gint    number2;
+    gint    used;
+    gint    slots;
     GSList *messages;
   } sms;
   struct {
@@ -156,6 +183,7 @@ typedef struct {
     gchar screen4[NETMON_SCREEN_LENGTH];
     gchar screen5[NETMON_SCREEN_LENGTH];
   } netmonitor;
+  gint supported;
 } PhoneMonitor;
 
 extern pthread_t monitor_th;
@@ -167,6 +195,8 @@ extern pthread_cond_t  calendarCond;
 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;
@@ -187,6 +217,4 @@ extern void GUI_InitPhoneMonitor (void);
 extern void *GUI_Connect (void *a);
 extern void GUI_InsertEvent (PhoneEvent *event);
 
-extern void RefreshSMS (const gint number);
-
 #endif