release-1.10release-1.7release-1.8release-1.9
Last change
on this file since 04d76ef was
f3a9d4d,
checked in by David Benjamin <davidben@mit.edu>, 14 years ago
|
Add an OwlGlobalNotifer generated from variables
It exists purely as a little GObject to fire off property signals.
|
-
Property mode set to
100644
|
File size:
1.1 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 | |
---|
| 41 | G_END_DECLS |
---|
| 42 | |
---|
| 43 | #endif /* __BARNOWL_GLOBAL_NOTIFIER_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.