summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:57:31 +0000
committerfcolin2007-02-01 12:57:31 +0000
commit1d992982b8385d757a9a9cce4f20077b70bff108 (patch)
treeac8d666bc062a3156e428b6f1b1dd28f328bd9ba
parentf00e0cfa7fe02afa232ee5d4f3fd634e9ea78c2e (diff)
downloadivy-cplusplus-1d992982b8385d757a9a9cce4f20077b70bff108.zip
ivy-cplusplus-1d992982b8385d757a9a9cce4f20077b70bff108.tar.gz
ivy-cplusplus-1d992982b8385d757a9a9cce4f20077b70bff108.tar.bz2
ivy-cplusplus-1d992982b8385d757a9a9cce4f20077b70bff108.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--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);