init
This commit is contained in:
commit
75fbf8809d
489 files changed
+398278
No files matched your search
@@ -0,0 +1,36 @@
|
||||
#ifndef SCREEN1PRESENTER_HPP
|
||||
#define SCREEN1PRESENTER_HPP
|
||||
|
||||
#include <gui/model/ModelListener.hpp>
|
||||
#include <mvp/Presenter.hpp>
|
||||
|
||||
using namespace touchgfx;
|
||||
|
||||
class Screen1View;
|
||||
|
||||
class Screen1Presenter : public touchgfx::Presenter, public ModelListener
|
||||
{
|
||||
public:
|
||||
Screen1Presenter(Screen1View& 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 ~Screen1Presenter() {}
|
||||
|
||||
private:
|
||||
Screen1Presenter();
|
||||
|
||||
Screen1View& view;
|
||||
};
|
||||
|
||||
#endif // SCREEN1PRESENTER_HPP
|
||||
Reference in new issue
Block a user