http://marcin-wiacek.fkn.pl/english/zips/mygnokii.tar.gz
[gnokii.git] / xgnokii / xgnokii_lowlevel.h
index 8f848dd..44201fd 100644 (file)
@@ -1,38 +1,11 @@
 /*
 
-  $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.1  2001/11/25 21:59:31  short
-  :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
-
-  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
@@ -40,7 +13,7 @@
 
 #include <pthread.h>
 #include <glib.h>
-#include "gsm-common.h"
+#include "gsm-api.h"
 
 #define INCALL_NUMBER_LENGTH   20
 #define NETMON_SCREEN_LENGTH   60
@@ -126,6 +99,7 @@ typedef struct {
 typedef struct {
   gint min;
   gint max;
+  gint used;
   GSM_MemoryType type;
   gint status;
   gint (*InsertEntry)(GSM_PhonebookEntry *);
@@ -168,6 +142,7 @@ typedef struct {
   struct {
     gint    unRead;
     gint    number;
+    gint    number2;
     GSList *messages;
   } sms;
   struct {
@@ -181,7 +156,6 @@ typedef struct {
     gchar screen4[NETMON_SCREEN_LENGTH];
     gchar screen5[NETMON_SCREEN_LENGTH];
   } netmonitor;
-  gint supported;
 } PhoneMonitor;
 
 extern pthread_t monitor_th;
@@ -213,4 +187,6 @@ extern void GUI_InitPhoneMonitor (void);
 extern void *GUI_Connect (void *a);
 extern void GUI_InsertEvent (PhoneEvent *event);
 
+extern void RefreshSMS (const gint number);
+
 #endif