Galago - desktop presence framework

galago-context-priv.h

Go to the documentation of this file.
00001 
00021 #ifndef _GALAGO_CONTEXT_PRIV_H_
00022 #define _GALAGO_CONTEXT_PRIV_H_
00023 
00024 typedef struct _GalagoContextOps GalagoContextOps;
00025 
00026 #include <libgalago/galago-person.h>
00027 #include <libgalago/galago-service.h>
00028 
00029 struct _GalagoContextOps
00030 {
00031     void (*service_added)(GalagoService *service);
00032     void (*service_removed)(GalagoService *service);
00033     void (*person_added)(GalagoPerson *person);
00034     void (*person_removed)(GalagoPerson *person);
00035 };
00036 
00037 
00038 /**************************************************************************/
00040 /**************************************************************************/
00049 void galago_context_set_ops(GalagoContext *context, GalagoContextOps *ops);
00050 
00056 void galago_context_add_service(GalagoService *service);
00057 
00063 void galago_context_remove_service(GalagoService *service);
00064 
00070 void galago_context_add_person(GalagoPerson *person);
00071 
00077 void galago_context_remove_person(GalagoPerson *person);
00078 
00086 void galago_context_add_object(void *obj);
00087 
00095 void galago_context_remove_object(void *obj);
00096 
00105 void galago_context_clear_objects(galago_bool native);
00106 
00109 #ifdef __cplusplus
00110 }
00111 #endif
00112 
00113 #endif /* _GALAGO_CONTEXT_PRIV_H_ */