OpFlex Framework  1.7.0
ofobjectlistener_c.h File Reference

C wrapper for object listener. More...

#include "ofcore_c.h"
#include "ofuri_c.h"

Go to the source code of this file.

Typedefs

typedef ofobj_p ofobjectlistener_p
 A pointer to an object listener object.
 
typedef void(* ofnotify_p) (void *user_data, class_id_t class_id, ofuri_p uri)
 A function pointer to a function to receive notificiations. More...
 

Functions

ofstatus ofobjectlistener_create (void *user_data, ofnotify_p callback, ofobjectlistener_p *listener)
 Create a new object listener. More...
 
ofstatus ofobjectlistener_destroy (ofobjectlistener_p *listener)
 Destroy an object listener, and zero the pointer. More...
 

Detailed Description

C wrapper for object listener.