From 32a4bab589b9af269be97047a93472287c420bbe Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:03:36 +0000 Subject: Utilisateur : Fcolin Date : 1/06/06 Heure : 10:14 Archivé dans $/Bus/Ivy Commentaire: ajout Binding Callback et SetFilter (vss 6) --- Bus/Ivy/IvySynchroWnd.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'Bus/Ivy') diff --git a/Bus/Ivy/IvySynchroWnd.h b/Bus/Ivy/IvySynchroWnd.h index b21b2b3..ffa44ba 100644 --- a/Bus/Ivy/IvySynchroWnd.h +++ b/Bus/Ivy/IvySynchroWnd.h @@ -90,3 +90,20 @@ protected: friend class IvySynchroWnd; }; +class IvySynchronousBindingCallback: public IvySynchronousCallback, public IvyBindingCallback +{ +public: + IvySynchronousBindingCallback( IvyBindingCallback *cb ); + virtual void CallCallback(); + virtual void OnAddBind (IvyApplication *app, int id, const char *regexp); + virtual void OnRemoveBind (IvyApplication *app, int id, const char *regexp); + virtual void OnFilterBind (IvyApplication *app, int id, const char *regexp); +protected: + IvyBindingCallback *target; + typedef enum { ADD_CB, REMOVE_CB, FILTER_CB } CallbackType; + CallbackType type; + int id; + const char *regexp; + + friend class IvySynchroWnd; +}; -- cgit v1.1