Михаил Капелько 2 weeks ago
parent
commit
43776b4172
1 changed files with 19 additions and 1 deletions
  1. +19
    -1
      v4/main.cpp

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


Loading…
Cancel
Save