mirror of
https://github.com/Dejvino/lilybook.git
synced 2024-11-14 20:33:28 +00:00
24 lines
326 B
C++
24 lines
326 B
C++
#ifndef _APPMODE_H_
|
|
#define _APPMODE_H_
|
|
|
|
class AppMode
|
|
{
|
|
public:
|
|
virtual void start();
|
|
virtual void loop();
|
|
virtual void finish();
|
|
bool isFinished() {
|
|
return this->finished;
|
|
}
|
|
|
|
protected:
|
|
void setFinished() {
|
|
this->finished = true;
|
|
}
|
|
|
|
private:
|
|
bool finished = false;
|
|
};
|
|
|
|
#endif
|