MCPcopy Create free account
hub / github.com/deskflow/deskflow / getNumActions

Method getNumActions

src/lib/server/InputFilter.cpp:737–744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735}
736
737uint32_t InputFilter::Rule::getNumActions(bool onActivation) const
738{
739 if (onActivation) {
740 return static_cast<uint32_t>(m_activateActions.size());
741 } else {
742 return static_cast<uint32_t>(m_deactivateActions.size());
743 }
744}
745
746const InputFilter::Action &InputFilter::Rule::getAction(bool onActivation, uint32_t index) const
747{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected