diff options
author | fcolin | 2005-06-02 15:22:31 +0000 |
---|---|---|
committer | fcolin | 2005-06-02 15:22:31 +0000 |
commit | 5d37f485f4105ebc02541eaf8065ee1c67e20f23 (patch) | |
tree | 70b2db28b85c57175d15f636230673f4cad50e8e /src/ivy.h | |
parent | fb9ff051afa822f2d99c167d4ac1a1ca0920b24c (diff) | |
download | ivy-c-5d37f485f4105ebc02541eaf8065ee1c67e20f23.zip ivy-c-5d37f485f4105ebc02541eaf8065ee1c67e20f23.tar.gz ivy-c-5d37f485f4105ebc02541eaf8065ee1c67e20f23.tar.bz2 ivy-c-5d37f485f4105ebc02541eaf8065ee1c67e20f23.tar.xz |
modify callback of binding id is private part of implementation not exported to API !
Diffstat (limited to 'src/ivy.h')
-rw-r--r-- | src/ivy.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -33,14 +33,14 @@ typedef enum { IvyApplicationConnected, IvyApplicationDisconnected } IvyApplicat typedef enum { IvyAddBind, IvyRemoveBind } IvyBindEvent; extern void IvyDefaultApplicationCallback( IvyClientPtr app, void *user_data, IvyApplicationEvent event ) ; -extern void IvyDefaultBindCallback( IvyClientPtr app, void *user_data, int id, char* regexp, IvyBindEvent event ) ; +extern void IvyDefaultBindCallback( IvyClientPtr app, void *user_data, IvyBindEvent event, char* regexp ) ; /* callback callback appele sur connexion deconnexion d'une appli */ typedef void (*IvyApplicationCallback)( IvyClientPtr app, void *user_data, IvyApplicationEvent event ) ; /* callback callback appele sur ajout ou suppression d'un bind */ -typedef void (*IvyBindCallback)( IvyClientPtr app, void *user_data, int id, char* regexp, IvyBindEvent event ) ; +typedef void (*IvyBindCallback)( IvyClientPtr app, void *user_data, IvyBindEvent event, char* regexp ) ; /* callback appele sur reception de die */ typedef void (*IvyDieCallback)( IvyClientPtr app, void *user_data, int id ) ; @@ -65,11 +65,9 @@ void IvyInit( IvyDieCallback die_callback, /* last change callback before die */ void *die_data /* user data */ ); + void IvySetApplicationPriority( int priority ); -void IvySetBindCallback( - IvyBindCallback bind_callback, - void *bind_data ); -void IvyDelBindCallback(); +void IvySetBindCallback( IvyBindCallback bind_callback, void *bind_data ); void IvyStart (const char*); void IvyStop (); |