Working on command line processing.

This commit is contained in:
2023-10-07 16:25:30 -07:00
parent e5cf44c3a6
commit 4a888d23a5
5 changed files with 217 additions and 4 deletions
+12
View File
@@ -0,0 +1,12 @@
#ifndef KIMODEM_COMMANDER_H
#define KIMODEM_COMMANDER_H
#include "Mode.h"
#define MAX_COMMAND_LENGTH 80
void CommandMode();
#endif
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef KIMODEM_PREFS_H
#define KIMODEM_PREFS_H
#ifndef KIMODEM_CONFIG_H
#define KIMODEM_CONFIG_H
namespace Config {
+11
View File
@@ -0,0 +1,11 @@
#ifndef KIMODEM_MODE_H
#define KIMODEM_MODE_H
static struct Mode {
bool (*Process)();
bool (*Update)();
} *currentMode(nullptr);
#endif