![]() |
Mixxx
|
00001 #ifndef NUMBERCONTROLEVENT_H 00002 #define NUMBERCONTROLEVENT_H 00003 00004 #include "../controlobject.h" 00005 #include "scriptcontrolevent.h" 00006 #include <qdatetime.h> 00007 00011 class NumberControlEvent : public ScriptControlEvent { 00012 public: 00013 NumberControlEvent(const char* group, const char* name, double value, QDateTime time, int process, int tag = -1); 00014 NumberControlEvent(ControlObject *obj, double value, QDateTime time, \ 00015 int process, int tag = -1); 00016 00017 virtual ~NumberControlEvent(); 00018 virtual void execute(); 00019 double getValue(); 00020 00021 protected: 00022 ControlObject* m_obj; 00023 double m_value; 00024 }; 00025 00026 #endif