mirror of
https://github.com/Dejvino/lilybook.git
synced 2024-11-13 03:47:30 +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
|