Added handlers.

This commit is contained in:
Michael Jumper 2012-07-17 22:57:46 -07:00
parent 4ed87ecab5
commit 376fbe64ab

View File

@ -122,6 +122,18 @@ typedef void guac_client_log_handler(guac_client* client, const char* format, va
*/ */
typedef int guac_client_init_handler(guac_client* client, int argc, char** argv); typedef int guac_client_init_handler(guac_client* client, int argc, char** argv);
/**
* Handler which will be called whenever a resource is being exposed.
*/
typedef int guac_client_resource_handler(guac_client* client,
guac_resource* resource);
/**
* Handler which will be called whenever a valid resource is selected.
*/
typedef int guac_client_stream_handler(guac_client* client,
guac_resource* resource);
/** /**
* The flag set in the mouse button mask when the left mouse button is down. * The flag set in the mouse button mask when the left mouse button is down.
*/ */