mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
13 lines
254 B
C++
13 lines
254 B
C++
#include <stdint.h>
|
|
|
|
template<class AutomatedObject>
|
|
struct AutomationEvent {
|
|
uint32_t frame;
|
|
AutomatedObject *object;
|
|
void (AutomatedObject::*function) (void *);
|
|
void *arg;
|
|
|
|
void operator() (){
|
|
object->function (arg);
|
|
}
|
|
};
|