MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / GetCommand

Method GetCommand

WinArk/AppCommandBase.cpp:8–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6}
7
8std::shared_ptr<AppCommand> AppCommandList::GetCommand(size_t i) const {
9 return i < _commands.size() ? _commands[i] : nullptr;
10}
11
12int AppCommandList::GetCount() const {
13 return static_cast<int>(_commands.size());

Callers 2

OnEditPasteMethod · 0.80
OnEditDeleteMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected