summaryrefslogtreecommitdiff
path: root/Ivy/Ivy.h
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy/Ivy.h')
-rw-r--r--Ivy/Ivy.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Ivy/Ivy.h b/Ivy/Ivy.h
index ddbc752..08977cd 100644
--- a/Ivy/Ivy.h
+++ b/Ivy/Ivy.h
@@ -55,6 +55,7 @@ private:
IvyDieCallback *die_callback;
IvyDirectMessageCallback *direct_callback;
IvyApplicationCallback *application_callback;
+ IvyBindingCallback *binding_callback;
/* list des adresses de broadcast */
ivy::string domain;
/* nom de l'appliction */
@@ -82,14 +83,18 @@ protected:
bool CheckRegexp( const char *exp );
void CallApplicationConnectedCallback( IvyApplication *app );
void CallApplicationDisconnectedCallback( IvyApplication *app );
+ void CallBindingAddCallback(IvyApplication * app, int id, const char * regexp);
+ void CallBindingRemoveCallback(IvyApplication * app, int id, const char * regexp);
+ void CallBindingFilterCallback(IvyApplication * app, int id, const char * regexp);
bool CallDieCallback( IvyApplication *app, int id, const char *arg );
void CallDirectMessageCallback( IvyApplication *app, int id, const char *arg );
void CallMessageCallback( IvyApplication *app, int id, int argc, const char **argv );
const char *GenApplicationUniqueIdentifier();
public:
-
- void Classes( int argc, const char **argv );
+
+ void SetBindCallback( IvyBindingCallback* bind_callback );
+ void SetFilter( int argc, const char **argv );
void SendDieMsg( IvyApplication *app );
IvyApplication *GetApplication(const char *name);
void SendDirectMsg( IvyApplication *app, int id, const char *message);