MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / GetPropertyFuncByMessage

Method GetPropertyFuncByMessage

src/IFaceTable.cpp:130–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130IFaceFunction IFaceTable::GetPropertyFuncByMessage(int message) const {
131 for (const auto &prop : properties) {
132 if (prop.getter == message) {
133 return prop.GetterFunction();
134 }
135 else if (prop.setter == message) {
136 return prop.SetterFunction();
137 }
138 }
139 return { "invalid", -1, iface_void, {iface_void, iface_void} };
140}
141
142std::vector<std::string> IFaceTable::GetAllConstantNames() const {
143 std::vector<std::string> kws;

Callers 1

cf_npp_sendFunction · 0.45

Calls 2

GetterFunctionMethod · 0.80
SetterFunctionMethod · 0.80

Tested by

no test coverage detected