diff options
author | Taybin Rutkin <taybin@taybin.com> | 2005-09-24 19:13:41 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2005-09-24 19:13:41 +0000 |
commit | 8af0757b61990767f2a85e68f535a5af9976fd79 (patch) | |
tree | f9e06fe12cac866d658a2e7074a61aa74d12f68f /libs/ardour/automation.cc | |
parent | f9546e5c76afa101e9dbe8a057e72463b03430e5 (diff) |
libardour added.
git-svn-id: svn://localhost/trunk/ardour2@17 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/automation.cc')
-rw-r--r-- | libs/ardour/automation.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/ardour/automation.cc b/libs/ardour/automation.cc new file mode 100644 index 0000000000..2e3116ba17 --- /dev/null +++ b/libs/ardour/automation.cc @@ -0,0 +1,13 @@ +#include <stdint.h> + +template<class AutomatedObject> +struct AutomationEvent { + uint32_t frame; + AutomatedObject *object; + void (AutomatedObject::*function) (void *); + void *arg; + + void operator() (){ + object->function (arg); + } +}; |