Files
CelloEffects/Appli/TouchGFX/gui/include/gui/overview_screen/OverviewPresenter.hpp
T
2026-09-05 16:59:07 +02:00

37 lines
881 B
C++

#ifndef OVERVIEWPRESENTER_HPP
#define OVERVIEWPRESENTER_HPP
#include <gui/model/ModelListener.hpp>
#include <mvp/Presenter.hpp>
using namespace touchgfx;
class OverviewView;
class OverviewPresenter : public touchgfx::Presenter, public ModelListener
{
public:
OverviewPresenter(OverviewView& 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 ~OverviewPresenter() {}
private:
OverviewPresenter();
OverviewView& view;
};
#endif // OVERVIEWPRESENTER_HPP