Files
CelloEffects/Appli/TouchGFX/gui/include/gui/equalizer_screen/EqualizerPresenter.hpp
T
2026-10-18 14:06:40 +02:00

37 lines
891 B
C++

#ifndef EQUALIZERPRESENTER_HPP
#define EQUALIZERPRESENTER_HPP
#include <gui/model/ModelListener.hpp>
#include <mvp/Presenter.hpp>
using namespace touchgfx;
class EqualizerView;
class EqualizerPresenter : public touchgfx::Presenter, public ModelListener
{
public:
EqualizerPresenter(EqualizerView& v);
/**
* The activate function is called automatically when this screen is "switched in"
* (ie. made active). Initialization logic can be placed here.
*/
virtual void activate();
/**
* The deactivate function is called automatically when this screen is "switched out"
* (ie. made inactive). Teardown functionality can be placed here.
*/
virtual void deactivate();
virtual ~EqualizerPresenter() {}
private:
EqualizerPresenter();
EqualizerView& view;
};
#endif // EQUALIZERPRESENTER_HPP