release-1.10release-1.7release-1.8release-1.9
Last change
on this file since 438409f was
94be4a8,
checked in by David Benjamin <davidben@mit.edu>, 15 years ago
|
Add a command-executed signal for the sepbar
Now we can remove sepbar_dirty()
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | #ifndef __BARNOWL_GLOBAL_NOTIFIER_H__ |
---|
2 | #define __BARNOWL_GLOBAL_NOTIFIER_H__ |
---|
3 | |
---|
4 | #include <glib-object.h> |
---|
5 | #include "owl.h" |
---|
6 | |
---|
7 | G_BEGIN_DECLS |
---|
8 | |
---|
9 | #define OWL_TYPE_GLOBAL_NOTIFIER owl_global_notifier_get_type() |
---|
10 | |
---|
11 | #define OWL_GLOBAL_NOTIFIER(obj) \ |
---|
12 | (G_TYPE_CHECK_INSTANCE_CAST ((obj), OWL_TYPE_GLOBAL_NOTIFIER, OwlGlobalNotifier)) |
---|
13 | |
---|
14 | #define OWL_GLOBAL_NOTIFIER_CLASS(klass) \ |
---|
15 | (G_TYPE_CHECK_CLASS_CAST ((klass), OWL_TYPE_GLOBAL_NOTIFIER, OwlGlobalNotifierClass)) |
---|
16 | |
---|
17 | #define OWL_IS_GLOBAL_NOTIFIER(obj) \ |
---|
18 | (G_TYPE_CHECK_INSTANCE_TYPE ((obj), OWL_TYPE_GLOBAL_NOTIFIER)) |
---|
19 | |
---|
20 | #define OWL_IS_GLOBAL_NOTIFIER_CLASS(klass) \ |
---|
21 | (G_TYPE_CHECK_CLASS_TYPE ((klass), OWL_TYPE_GLOBAL_NOTIFIER)) |
---|
22 | |
---|
23 | #define OWL_GLOBAL_NOTIFIER_GET_CLASS(obj) \ |
---|
24 | (G_TYPE_INSTANCE_GET_CLASS ((obj), OWL_TYPE_GLOBAL_NOTIFIER, OwlGlobalNotifierClass)) |
---|
25 | |
---|
26 | typedef struct _OwlGlobalNotifierClass OwlGlobalNotifierClass; |
---|
27 | |
---|
28 | struct _OwlGlobalNotifier { |
---|
29 | GObject parent; |
---|
30 | owl_global *g; |
---|
31 | }; |
---|
32 | |
---|
33 | struct _OwlGlobalNotifierClass { |
---|
34 | GObjectClass parent_class; |
---|
35 | }; |
---|
36 | |
---|
37 | GType owl_global_notifier_get_type (void); |
---|
38 | |
---|
39 | OwlGlobalNotifier* owl_global_notifier_new(owl_global *g); |
---|
40 | |
---|
41 | void owl_global_notifier_emit_view_changed(OwlGlobalNotifier *gn); |
---|
42 | void owl_global_notifier_emit_message_received(OwlGlobalNotifier *gn, owl_message *msg); |
---|
43 | void owl_global_notifier_emit_command_executed(OwlGlobalNotifier *gn); |
---|
44 | |
---|
45 | G_END_DECLS |
---|
46 | |
---|
47 | #endif /* __BARNOWL_GLOBAL_NOTIFIER_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.