vault backup: 2023-02-06 16:14:20

This commit is contained in:
2023-02-06 16:14:20 +08:00
parent d712d19aa5
commit b19000634d
2 changed files with 7 additions and 4 deletions

View File

@@ -35,7 +35,10 @@
{"id":"eed51d8e5331c29c","x":2160,"y":-1061,"width":664,"height":156,"type":"text","text":"```cpp\nbool\nlogitech::fwupdate::backend::VideoEepromUpdateTask::Impl::PerformUpdate() {\n SendImage(ActionProgress(progress_, 90));\n ...\n RebootDevice();\n}\n```"},
{"id":"5d03eb8ecaadd1dd","x":-970,"y":-911,"width":339,"height":181,"type":"text","text":"`vc-fwUpdate\\Frontends-developer\\LogiFWUpdate\\Ui\\LogiFWUpdateDlg.cpp`\n\n----\n`BOOL CLogiFWUpdateDlg::OnInitDialog()`"},
{"id":"4d601b6034046222","x":-474,"y":777,"width":861,"height":205,"type":"text","text":"```cpp\nbool silentUpdate = ci.GetOption(L\"silentupdate\") ? true : false;\nbool forceUpdate = ci.GetOption(L\"force\")? true: false;\n\nauto cli = make_unique<cliwrapper>(logfile, version, forceUpdate, recovery, launcher, restartUpdate);\n\nbool success = cli->Initialize();\ncli->InitializeTasks();\nret = cli->PerformUpdate();\n```"},
{"id":"12867a0e216a1bc9","x":-970,"y":790,"width":420,"height":179,"type":"text","text":"`vc-fwUpdate\\Frontends-developer\\LogiFWUpdate\\Ui\\LogiFWUpdate.cpp`\n\n----\n```cpp\nBOOL CLogiFWUpdateApp::InitInstance() {\n ...\n}\n```"}
{"id":"12867a0e216a1bc9","x":-970,"y":790,"width":420,"height":179,"type":"text","text":"`vc-fwUpdate\\Frontends-developer\\LogiFWUpdate\\Ui\\LogiFWUpdate.cpp`\n\n----\n```cpp\nBOOL CLogiFWUpdateApp::InitInstance() {\n ...\n}\n```"},
{"id":"60b67cb8ae948ca8","x":-944,"y":1141,"width":1390,"height":405,"type":"group","label":"namespace: clifrontend"},
{"id":"37bf2c4c95808bcf","x":-924,"y":1161,"width":533,"height":365,"type":"text","text":"```cpp\nclass cliwrapper\n{\n struct Impl;\n\npublic:\n cliwrapper(...);\n ~cliwrapper();\n\n bool Initialize();\n int\t PerformUpdate();\n void InitializeTasks();\n void InitializeTask(string taskID, string imagePath);\n void Log(string message);\nprivate:\n std::unique_ptr<Impl>\td_;\n};\n```"},
{"id":"87dcc9769cfa192f","x":-370,"y":1161,"width":256,"height":365,"type":"text","text":"```cpp\nstruct cliwrapper::Impl\n{\n\t\n};\n```"}
],
"edges":[
{"id":"b621a476fd748a7d","fromNode":"35301ec811a15aa2","fromSide":"bottom","toNode":"e01a865b5a13d6e9","toSide":"left"},