5 A Linux/Unix GUI for Nokia mobile phones.
7 Released under the terms of the GNU GPL, see file COPYING for more details.
11 #ifndef XGNOKII_COMMON_H
12 #define XGNOKII_COMMON_H
15 #include <stdlib.h> /* for size_t */
43 GUI_EVENT_CONTACTS_CHANGED,
44 GUI_EVENT_CALLERS_GROUPS_CHANGED,
45 GUI_EVENT_SMS_NUMBER_CHANGED,
46 GUI_EVENT_SMS_CENTERS_CHANGED,
47 GUI_EVENT_NETMON_CHANGED,
48 GUI_EVENT_SMS_FOLDERS_CHANGED
51 extern void CancelDialog (const GtkWidget *, const gpointer);
52 extern void CreateErrorDialog (ErrorDialog *, GtkWidget *);
53 extern void CreateInfoDialog (InfoDialog *, GtkWidget *);
54 extern void CreateYesNoDialog (YesNoDialog *, const GtkSignalFunc,
55 const GtkSignalFunc, GtkWidget *);
56 extern GtkWidget* NewPixmap (gchar **, GdkWindow *, GdkColor *);
57 extern void DeleteEvent (const GtkWidget *, const GdkEvent *, const gpointer );
58 extern gint LaunchProcess (const gchar *, const gchar *, const gint,
59 const gint, const gint);
60 extern void RemoveZombie (const gint);
61 extern void Help (const GtkWidget *, const gpointer);
62 extern gint strrncmp (const gchar * const, const gchar * const, size_t);
63 extern gchar *GetModel (const gchar *);
64 extern bool CallerGroupSupported (const gchar *);
65 extern bool NetmonitorSupported (const gchar *);
66 extern bool KeyboardSupported (const gchar *);
67 extern bool SMSSupported (const gchar *);
68 extern bool CalendarSupported (const gchar *);
69 extern bool DTMFSupported (const gchar *);
70 extern bool DataSupported (const gchar *);
71 extern bool SpeedDialSupported (const gchar *);
72 extern void GUI_Refresh (void);
73 extern void SetSortColumn (GtkWidget *, SortColumn *);
74 extern void GUIEventAdd (GUIEventType, void (*)(void));
75 extern bool GUIEventRemove (GUIEventType, void (*)(void));
76 extern void GUIEventSend (GUIEventType);