This commit is contained in:
Михаил Капелько
2024-06-08 22:06:41 +03:00
parent ef35a82052
commit 43776b4172

View File

@@ -7,7 +7,7 @@
int main() {
std::cout
<< test_ctx_Controller_executeFunctions_set()
<< test_ctx_Controller_executeFunctions_registerFunction_set()
<< std::endl
<< test_ctx_Controller_processQueue()
<< std::endl
@@ -77,7 +77,25 @@ int main() {
<< std::endl
;
ctx_Controller<memory_Context> ctrl(memory_createContext());
ctrl.registerFunctions({
cli_exit,
cli_goOn,
});
/*
cli_greetUser,
cli_promptSecondItemSelection,
cli_reportMatchedItems,
cli_reportMismatchedItems,
cli_reportVictory,
cli_selectItem,
cli_showHelp,
memory_detectMismatchedItems,
memory_detectVictory,
memory_generateConstPlayfield,
memory_hideMatchingItems,
memory_selectItem,
])
auto c = shell_createContext();
c.cCLI = cli_createContext();