Skip to content

Commit cae10b0

Browse files
committed
For some datarefs that we can't get consistently by scanning, maintain an internal list.
1 parent 07715e4 commit cae10b0

File tree

5 files changed

+1188
-2
lines changed

5 files changed

+1188
-2
lines changed

src/libdrt/search/ref.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ std::ostream & operator<<(std::ostream & o, const ref_src_t source) {
2323
case ref_src_t::LUA:
2424
o << "Lua";
2525
return o;
26+
case ref_src_t::DRT_INTERNAL_LIST:
27+
o << "DRT internal list";
28+
return o;
2629
default:
2730
o << "other";
2831
return o;

src/libdrt/search/ref.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ enum class ref_src_t {
1111
PLUGIN,
1212
USER_MSG,
1313
X_PLANE,
14-
LUA
14+
LUA,
15+
DRT_INTERNAL_LIST
1516
};
1617

1718
std::ostream & operator<<(std::ostream & o, const ref_src_t source);

0 commit comments

Comments
 (0)