Михаил Капелько 6 mesi fa
parent
commit
43776b4172
1 ha cambiato i file con 19 aggiunte e 1 eliminazioni
  1. +19
    -1
      v4/main.cpp

+ 19
- 1
v4/main.cpp Vedi 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();


Loading…
Annulla
Salva