X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=xgnokii%2Fxgnokii_lowlevel.h;h=44201fd3886157f9abb7a0152faa9c33fa0c61c1;hp=bf49e287de6ed67bd5b3ed6459279c33c2049b65;hb=a2dfc99dc499ea8600bf5178f8122125d7d7d557;hpb=1fdb423c0a2e33c1282bec25de66d9f40d56999b diff --git a/xgnokii/xgnokii_lowlevel.h b/xgnokii/xgnokii_lowlevel.h index bf49e28..44201fd 100644 --- a/xgnokii/xgnokii_lowlevel.h +++ b/xgnokii/xgnokii_lowlevel.h @@ -1,12 +1,8 @@ /* - $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 . Released under the terms of the GNU GPL, see file COPYING for more details. @@ -17,7 +13,7 @@ #include #include -#include "gsm-common.h" +#include "gsm-api.h" #define INCALL_NUMBER_LENGTH 20 #define NETMON_SCREEN_LENGTH 60 @@ -75,7 +71,7 @@ typedef struct { } D_SMSMessage; typedef struct { - SMS_MessageCenter *center; + GSM_MessageCenter *center; GSM_Error status; } D_SMSCenter; @@ -103,6 +99,7 @@ typedef struct { typedef struct { gint min; gint max; + gint used; GSM_MemoryType type; gint status; gint (*InsertEntry)(GSM_PhonebookEntry *); @@ -145,6 +142,7 @@ typedef struct { struct { gint unRead; gint number; + gint number2; GSList *messages; } sms; struct { @@ -158,7 +156,6 @@ typedef struct { gchar screen4[NETMON_SCREEN_LENGTH]; gchar screen5[NETMON_SCREEN_LENGTH]; } netmonitor; - gint supported; } PhoneMonitor; extern pthread_t monitor_th; @@ -190,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