summaryrefslogtreecommitdiff
path: root/Bus/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:36 +0000
committerfcolin2007-02-01 13:03:36 +0000
commit32a4bab589b9af269be97047a93472287c420bbe (patch)
treedb64d5eb2561f0f965213c728d6d9b762b7c12dd /Bus/Ivy
parent4bfb26b557ff4d886ee84c93c8f9578accd7bcdd (diff)
downloadivy-cplusplus-32a4bab589b9af269be97047a93472287c420bbe.zip
ivy-cplusplus-32a4bab589b9af269be97047a93472287c420bbe.tar.gz
ivy-cplusplus-32a4bab589b9af269be97047a93472287c420bbe.tar.bz2
ivy-cplusplus-32a4bab589b9af269be97047a93472287c420bbe.tar.xz
Utilisateur : Fcolin Date : 1/06/06 Heure : 10:14 Archivé dans $/Bus/Ivy Commentaire: ajout Binding Callback et SetFilter (vss 6)
Diffstat (limited to 'Bus/Ivy')
-rw-r--r--Bus/Ivy/IvySynchroWnd.h17
1 files changed, 17 insertions, 0 deletions
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;
+};