diff options
author | fcolin | 2007-02-01 12:57:31 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 12:57:31 +0000 |
commit | afea0fbd8e8fd89414a50978a000c08c0f678956 (patch) | |
tree | 00a079b162fe13be441ded9fdfb7b441bc644a48 | |
parent | 958e07bf2fb04cca1dcbf9fe26bbf695552aaa6a (diff) | |
download | ivy-cplusplus-afea0fbd8e8fd89414a50978a000c08c0f678956.zip ivy-cplusplus-afea0fbd8e8fd89414a50978a000c08c0f678956.tar.gz ivy-cplusplus-afea0fbd8e8fd89414a50978a000c08c0f678956.tar.bz2 ivy-cplusplus-afea0fbd8e8fd89414a50978a000c08c0f678956.tar.xz |
Utilisateur : Fcolin Date : 1/06/06 Heure : 10:14 Archivé dans $/Bus/Ivy Commentaire: ajout Binding Callback et SetFilter (vss 17)
-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);
|