Loopp/src/controller/controller.hxx
2013-05-19 02:01:22 +01:00

38 lines
721 B
C++

#ifndef LUPPP_CONTROLLER_H
#define LUPPP_CONTROLLER_H
class Controller
{
public:
/*
make a state class for a whole track
class TrackState {
int track;
};
*/
enum ClipMode {
CLIP_MODE_PLAYING,
CLIP_MODE_PLAY_QUEUED,
CLIP_MODE_LOADED,
CLIP_MODE_RECORDING,
CLIP_MODE_RECORD_QUEUED,
CLIP_MODE_EMPTY,
};
Controller(){};
virtual ~Controller(){};
//virtual void setTrack(TrackState& t);
virtual void mute(int t, bool b){};
virtual void volume(int t, float f){};
virtual void recordArm(int t, bool r){};
virtual void clipSelect(int track, int clip, ClipMode cm){};
};
#endif // LUPPP_CONTROLLER_H