2023-10-07 23:25:17 +00:00
|
|
|
#ifndef KIMODEM_MODE_H
|
|
|
|
#define KIMODEM_MODE_H
|
|
|
|
|
|
|
|
|
2023-10-07 23:28:54 +00:00
|
|
|
struct Mode {
|
2023-10-07 23:25:17 +00:00
|
|
|
bool (*Process)();
|
|
|
|
bool (*Update)();
|
2023-10-07 23:28:54 +00:00
|
|
|
};
|
2023-10-07 23:25:17 +00:00
|
|
|
|
|
|
|
|
2023-10-07 23:28:54 +00:00
|
|
|
static Mode *currentMode = new Mode;
|
2023-10-07 23:25:17 +00:00
|
|
|
#endif
|