Changeset 4305:214fe3e67d09 in roaraudio for include/libroar/notify.h
- Timestamp:
- 09/07/10 03:40:15 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/notify.h
r4304 r4305 55 55 struct roar_subscriber; 56 56 57 struct roar_notify_core; 58 59 struct roar_notify_core * roar_notify_core_new(ssize_t lists); 60 int roar_notify_core_ref(struct roar_notify_core * core); 61 int roar_notify_core_unref(struct roar_notify_core * core); 62 #define roar_notify_core_free(x) roar_notify_core_unref((x)) 63 64 struct roar_subscriber * roar_notify_core_subscribe(struct roar_notify_core * core, struct roar_event * event, void (*cb)(struct roar_event * event, void * userdata), void * userdata); 65 int roar_notify_core_unsubscribe(struct roar_notify_core * core, struct roar_subscriber * subscriber); 66 67 int roar_notify_core_emit(struct roar_notify_core * core, struct roar_event * event); 68 57 69 #endif 58 70
Note: See TracChangeset
for help on using the changeset viewer.