MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / isEnabled

Method isEnabled

lib/GrabViaRestPlugin/src/GrabViaRestPlugin.cpp:70–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 *****************************************************************************/
69
70bool GrabViaRestPlugin::isEnabled() const
71{
72 bool isEnabled = false;
73
74 /* The plugin shall only be scheduled if its enabled and text is set. */
75 if ((true == m_isEnabled) &&
76 (false == m_view.getText().isEmpty()))
77 {
78 isEnabled = true;
79 }
80
81 return isEnabled;
82}
83
84void GrabViaRestPlugin::getTopics(JsonArray& topics) const
85{

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.45
getTextMethod · 0.45

Tested by

no test coverage detected