File: clock-map.h

package info (click to toggle)
gnome-panel 3.58.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 29,616 kB
  • sloc: ansic: 74,929; sh: 5,496; xml: 2,760; makefile: 1,368; sed: 39; python: 3
file content (42 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download | duplicates (4)
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
#ifndef __CLOCK_MAP_H__
#define __CLOCK_MAP_H__

#include "clock-location.h"

#include <gtk/gtk.h>

G_BEGIN_DECLS

#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 _ClockMapPrivate ClockMapPrivate;

typedef struct
{
        GtkWidget parent;

        ClockMapPrivate *priv;
} ClockMap;

typedef struct
{
        GtkWidgetClass parent_class;

	GList *(* 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);


G_END_DECLS
#endif /* __CLOCK_MAP_H__ */