diff options
Diffstat (limited to 'Bus')
-rw-r--r-- | Bus/Ivy/Ivy.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Bus/Ivy/Ivy.h b/Bus/Ivy/Ivy.h index ddbc752..08977cd 100644 --- a/Bus/Ivy/Ivy.h +++ b/Bus/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);
|