1
0
mirror of https://github.com/Dejvino/lilybook.git synced 2024-09-28 01:43:37 +00:00
lilybook/main/modes/AppMode.h

24 lines
326 B
C
Raw Normal View History

#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