1 #ifndef _CELLINFO_WINDOW_H_
2 #define _CELLINFO_WINDOW_H_
4 #include <hildon/hildon.h>
6 #include <location/location-gps-device.h>
7 #include <location/location-gpsd-control.h>
12 #define CELLINFO_TYPE_WINDOW cellinfo_window_get_type()
14 #define CELLINFO_WINDOW(obj) \
15 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
16 CELLINFO_TYPE_WINDOW, CellinfoWindow))
18 #define CELLINFO_WINDOW_CLASS(klass) \
19 (G_TYPE_CHECK_CLASS_CAST ((klass), \
20 CELLINFO_TYPE_WINDOW, CellinfoWindowClass))
22 #define CELLINFO_IS_WINDOW(obj) \
23 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
24 CELLINFO_TYPE_WINDOW))
26 #define CELLINFO_IS_WINDOW_CLASS(klass) \
27 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
28 CELLINFO_TYPE_WINDOW))
30 #define CELLINFO_WINDOW_GET_CLASS(obj) \
31 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
32 CELLINFO_TYPE_WINDOW, CellinfoWindowClass))
34 typedef struct _CellinfoWindow CellinfoWindow;
35 typedef struct _CellinfoWindowClass CellinfoWindowClass;
37 struct _CellinfoWindow
41 /* Fullscreen mode is on (TRUE) or off (FALSE): */
46 GtkWidget *vb_cellinfo;
47 /* Button items for menu */
48 GtkWidget *select_sensors;
51 GtkWidget *lb_cell_type;
54 GtkWidget *lb_cell_id;
58 /* Box that might be hidden */
59 GtkWidget *hb_cell_id;
64 LocationGPSDControl *control;
65 LocationGPSDevice *device;
68 struct _CellinfoWindowClass
70 HildonWindowClass parent_class;
73 GType cellinfo_window_get_type (void);
74 CellinfoWindow* cellinfo_window_new (osso_context_t *osso);
78 #endif /* _CELLINFO_WINDOW_H_ */