src: extract NoteType::Type to NodeKind (#925)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user