Михаил Капелько 2 週之前
父節點
當前提交
43776b4172
共有 1 個檔案被更改,包括 19 行新增1 行删除
  1. +19
    -1
      v4/main.cpp

+ 19
- 1
v4/main.cpp 查看文件

@@ -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…
取消
儲存