src: extract NoteType::Type to NodeKind (#925)

This commit is contained in:
Malte Langkabel
2020-02-14 20:35:02 +01:00
committed by GitHub
parent a30f47e27f
commit 437f06d21b
34 changed files with 577 additions and 600 deletions
@@ -31,7 +31,7 @@ public:
SearchMatch match;
match.name = match.text = file.fileName();
match.searchType = SearchMatch::SEARCH_TOKEN;
match.nodeType = NodeType::NODE_FILE;
match.nodeType = NodeType(NODE_FILE);
matches.push_back(match);
}
return matches;
@@ -48,7 +48,7 @@ public:
SearchMatch match;
match.name = match.text = L"aggregation"; // TODO: show aggregation source and target
match.searchType = SearchMatch::SEARCH_TOKEN;
match.nodeType = NodeType::NODE_TYPE;
match.nodeType = NodeType(NODE_TYPE);
return {match};
}
@@ -29,7 +29,7 @@ public:
MessageActivateTrail(
Id originId,
Id targetId,
NodeType::TypeMask nodeTypes,
NodeKindMask nodeTypes,
Edge::TypeMask edgeTypes,
bool nodeNonIndexed,
size_t depth,
@@ -60,7 +60,7 @@ public:
const Id originId;
const Id targetId;
const NodeType::TypeMask nodeTypes;
const NodeKindMask nodeTypes;
const Edge::TypeMask edgeTypes;
const bool nodeNonIndexed;
const size_t depth;