From f1e4ba467de10b0ae5131bc1af8000f1325172c6 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 1 May 2022 09:35:58 +0300 Subject: Autocommit at 01.05.2022 @ 09:35 --- src/ConsoleInterface/Menu.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/ConsoleInterface/Menu.h') diff --git a/src/ConsoleInterface/Menu.h b/src/ConsoleInterface/Menu.h index 1fcdc0f..b859c20 100644 --- a/src/ConsoleInterface/Menu.h +++ b/src/ConsoleInterface/Menu.h @@ -1,14 +1,9 @@ -#ifndef HEADER_CONSOLEINTERFACE_MENU -#define HEADER_CONSOLEINTERFACE_MENU +#ifndef HEADER_CONSOLEINTERFACE_COMMAND +#define HEADER_CONSOLEINTERFACE_COMMAND -#define exec (exec)(char input) - -class Menu { +class Command { char message[256]; - void *exec; - -public: - + void (*exec)(char input); }; #endif -- cgit v1.3.1-26-gb76a