48 TR_CALL(subject, TR_Subject, attach, observer);
59 TR_CALL(subject, TR_Subject, detach, observer);
69 TR_CALL(subject, TR_Subject, notify);
72 #endif // __SUBJECT_H__
void TR_subjectNotify(void *subject)
#define TR_CALL(object, _iface, method,...)
void TR_subjectDetach(void *subject, void *observer)
void TR_subjectAttach(void *subject, void *observer)
void(* fptr_subjectAttach)(void *, void *)
void(* fptr_subjectDetach)(void *, void *)
void(* fptr_subjectNotify)(void *)