summaryrefslogtreecommitdiff
path: root/Bus/Ivy
diff options
context:
space:
mode:
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;
+};