From 5d37f485f4105ebc02541eaf8065ee1c67e20f23 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 2 Jun 2005 15:22:31 +0000 Subject: modify callback of binding id is private part of implementation not exported to API ! --- src/ivy.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/ivy.h') diff --git a/src/ivy.h b/src/ivy.h index 10c7f86..a9298ab 100644 --- a/src/ivy.h +++ b/src/ivy.h @@ -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 (); -- cgit v1.1