mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-28 02:21:14 +01:00
39 lines
743 B
C++
39 lines
743 B
C++
/*
|
|
* Preset.hpp
|
|
*
|
|
* Created on: Aug 5, 2008
|
|
* Author: carm
|
|
*/
|
|
|
|
#ifndef PRESET_HPP_
|
|
#define PRESET_HPP_
|
|
|
|
#include <string>
|
|
|
|
#include "Renderer/BeatDetect.hpp"
|
|
#include "Renderer/Pipeline.hpp"
|
|
#include "Renderer/PipelineContext.hpp"
|
|
|
|
class Preset {
|
|
public:
|
|
|
|
|
|
Preset(const std::string & name=std::string(), const std::string & author = std::string());
|
|
virtual ~Preset();
|
|
|
|
void setName(const std::string & value);
|
|
const std::string & name() const;
|
|
|
|
void setAuthor(const std::string & value);
|
|
const std::string & author() const;
|
|
|
|
virtual Pipeline & pipeline() = 0;
|
|
virtual void Render(const BeatDetect &music, const PipelineContext &context) = 0;
|
|
|
|
private:
|
|
std::string _name;
|
|
std::string _author;
|
|
};
|
|
|
|
#endif /* PRESET_HPP_ */
|