summaryrefslogtreecommitdiff
path: root/Ivy/IvySynchroWnd.h
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:36 +0000
committerfcolin2007-02-01 13:03:36 +0000
commit33d722d0f56256e7e0aff49063c95c4d0fe44877 (patch)
tree8f2ec3785045f517ca3fa31310b512a305c8ef9f /Ivy/IvySynchroWnd.h
parentca7d7e10e8d548eabab6ae7dd7f15b885f338e05 (diff)
downloadivy-cplusplus-33d722d0f56256e7e0aff49063c95c4d0fe44877.zip
ivy-cplusplus-33d722d0f56256e7e0aff49063c95c4d0fe44877.tar.gz
ivy-cplusplus-33d722d0f56256e7e0aff49063c95c4d0fe44877.tar.bz2
ivy-cplusplus-33d722d0f56256e7e0aff49063c95c4d0fe44877.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 'Ivy/IvySynchroWnd.h')
-rw-r--r--Ivy/IvySynchroWnd.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Ivy/IvySynchroWnd.h b/Ivy/IvySynchroWnd.h
index b21b2b3..ffa44ba 100644
--- a/Ivy/IvySynchroWnd.h
+++ b/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;
+};