00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef HILDON_NAVIGATOR_WINDOW_H
00026 #define HILDON_NAVIGATOR_WINDOW_H
00027
00028 #include <gtk/gtkwindow.h>
00029
00030
00031 G_BEGIN_DECLS
00032
00033 #define CFG_FNAME "plugins.conf"
00034 #define NAVIGATOR_FACTORY_PLUGINS "/etc/hildon-navigator/" CFG_FNAME
00035 #define NAVIGATOR_USER_DIR "/.osso/hildon-navigator/"
00036 #define NAVIGATOR_USER_PLUGINS NAVIGATOR_USER_DIR CFG_FNAME
00037
00038 #define HILDON_NAVIGATOR_WINDOW_TYPE ( hildon_navigator_window_get_type() )
00039 #define HILDON_NAVIGATOR_WINDOW(obj) (GTK_CHECK_CAST (obj, \
00040 HILDON_NAVIGATOR_WINDOW_TYPE, \
00041 HildonNavigatorWindow))
00042 #define HILDON_NAVIGATOR_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), \
00043 HILDON_NAVIGATOR_WINDOW_TYPE, HildonNavigatorWindowClass))
00044 #define HILDON_IS_NAVIGATOR_WINDOW(obj) (GTK_CHECK_TYPE (obj, \
00045 HILDON_NAVIGATOR_WINDOW_TYPE))
00046 #define HILDON_IS_NAVIGATOR_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), \
00047 HILDON_NAVIGATOR_WINDOW_TYPE))
00048 #define HILDON_NAVIGATOR_WINDOW_GET_PRIVATE(obj) \
00049 (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \
00050 HILDON_NAVIGATOR_WINDOW_TYPE, HildonNavigatorWindowPrivate));
00051
00052
00053 typedef struct _HildonNavigatorWindow HildonNavigatorWindow;
00054 typedef struct _HildonNavigatorWindowClass HildonNavigatorWindowClass;
00055
00056 struct _HildonNavigatorWindow
00057 {
00058 GtkWindow parent;
00059
00060 };
00061
00062 struct _HildonNavigatorWindowClass
00063 {
00064 GtkWindowClass parent_class;
00065
00066 void (*set_sensitive) (HildonNavigatorWindow *window,
00067 gboolean sensitive);
00068
00069 void (*set_focus) (HildonNavigatorWindow *window,
00070 gboolean focus);
00071
00072 GtkWidget *(*get_others_menu) (HildonNavigatorWindow *window);
00073 };
00074
00075 GType hildon_navigator_window_get_type (void);
00076
00077 HildonNavigatorWindow *hildon_navigator_window_new (void);
00078
00079 void hn_window_set_sensitive (HildonNavigatorWindow *window,
00080 gboolean sensitive);
00081
00082 void hn_window_set_focus (HildonNavigatorWindow *window,
00083 gboolean focus);
00084
00085 GtkWidget *hn_window_get_others_menu (HildonNavigatorWindow *window);
00086
00087 void hn_window_close_others_menu (HildonNavigatorWindow *window);
00088
00089 GtkWidget *hn_window_get_button_focus (HildonNavigatorWindow *window,
00090 gint);
00091
00092
00093
00094
00095
00096
00097
00098 extern gboolean config_do_bgkill;
00099
00100
00101
00102
00103 extern gboolean config_lowmem_dim;
00104
00105
00106
00107
00108 extern gboolean config_lowmem_notify_enter;
00109
00110
00111
00112
00113 extern gboolean config_lowmem_notify_leave;
00114
00115
00116
00117
00118 extern gboolean config_lowmem_pavlov_dialog;
00119
00120 G_END_DECLS
00121
00122 #endif