Changeset 4305:214fe3e67d09 in roaraudio for include/libroar/notify.h


Ignore:
Timestamp:
09/07/10 03:40:15 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

implemented most of the notify logic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/notify.h

    r4304 r4305  
    5555struct roar_subscriber; 
    5656 
     57struct roar_notify_core; 
     58 
     59struct roar_notify_core * roar_notify_core_new(ssize_t lists); 
     60int roar_notify_core_ref(struct roar_notify_core * core); 
     61int roar_notify_core_unref(struct roar_notify_core * core); 
     62#define roar_notify_core_free(x) roar_notify_core_unref((x)) 
     63 
     64struct 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); 
     65int roar_notify_core_unsubscribe(struct roar_notify_core * core, struct roar_subscriber * subscriber); 
     66 
     67int roar_notify_core_emit(struct roar_notify_core * core, struct roar_event * event); 
     68 
    5769#endif 
    5870 
Note: See TracChangeset for help on using the changeset viewer.