blob: 0df4a416ae06a0b2ccdf52baa4a8009663d356dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#ifndef __CLOCK_MAP_H__
#define __CLOCK_MAP_H__
#include "clock.h"
#include "clock-location.h"
#include <gtk/gtk.h>
#ifdef __cplusplus
extern "C" {
#endif
#define CLOCK_MAP_TYPE (clock_map_get_type ())
#define CLOCK_MAP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CLOCK_MAP_TYPE, ClockMap))
#define CLOCK_MAP_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), CLOCK_MAP_TYPE, ClockMapClass))
#define IS_CLOCK_MAP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CLOCK_MAP_TYPE))
#define IS_CLOCK_MAP_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), CLOCK_MAP_TYPE))
#define CLOCK_MAP_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CLOCK_MAP_TYPE, ClockMapClass))
typedef struct
{
GtkWidget parent;
} ClockMap;
typedef struct
{
GtkWidgetClass parent_class;
GSList *(* need_locations) (ClockMap *map);
} ClockMapClass;
GType clock_map_get_type (void);
ClockMap *clock_map_new (void);
void clock_map_refresh (ClockMap *this);
void clock_map_update_time (ClockMap *this);
void clock_map_blink_location (ClockMap *this, ClockLocation *loc);
#ifdef __cplusplus
}
#endif
#endif /* __CLOCK_MAP_H__ */
|