1
0
mirror of https://github.com/Dejvino/lilybook.git synced 2024-11-14 04:17:28 +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