Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/script/recorder.h

Go to the documentation of this file.
00001 #ifndef SCRIPT_RECORDER_H
00002 #define SCRIPT_RECORDER_H
00003 
00004 #include <qstring.h>
00005 
00006 #include "interp.h"
00007 
00008 class Recorder {
00009         public:
00010                 Recorder(QString *macro);
00011                 virtual ~Recorder();
00012 
00013                 virtual void beginInterpolate(const char* group, const char* name, int interp = INTERP_LINEAR) = 0;
00014                 virtual void addInterPoint(int time, double value) = 0;
00015                 virtual void endInterpolate() = 0;
00016 
00017                 virtual void playChannel(int channel, int time, QString path) = 0;
00018                 
00019                 QString* getMacro();
00020         protected:
00021                 QString* m_macro;
00022 };
00023 
00024 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines