release-1.10release-1.7release-1.8release-1.9
Last change
on this file since 8f9a044 was
94be4a8,
checked in by David Benjamin <davidben@mit.edu>, 14 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
|
Rev | Line | |
---|
[f3a9d4d] | 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 | |
---|
[b2ea16b] | 41 | void owl_global_notifier_emit_view_changed(OwlGlobalNotifier *gn); |
---|
[f06baef] | 42 | void owl_global_notifier_emit_message_received(OwlGlobalNotifier *gn, owl_message *msg); |
---|
[94be4a8] | 43 | void owl_global_notifier_emit_command_executed(OwlGlobalNotifier *gn); |
---|
[b2ea16b] | 44 | |
---|
[f3a9d4d] | 45 | G_END_DECLS |
---|
| 46 | |
---|
| 47 | #endif /* __BARNOWL_GLOBAL_NOTIFIER_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.