You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
331 B
17 lines
331 B
#ifndef __OBSERVER_H__
|
|
#define __OBSERVER_H__
|
|
|
|
typedef void (* fptr_observerNotify)(void *, void*);
|
|
|
|
extern const struct interface i_Observer;
|
|
|
|
struct i_Observer {
|
|
const struct interface * const _;
|
|
fptr_observerNotify notify;
|
|
};
|
|
|
|
extern void observerNotify(void *, void *);
|
|
|
|
#endif // __OBSERVER_H__
|
|
|
|
// vim: set ts=4 sw=4:
|