1 2 3 #pragma once 4 5 #include "flatbuffers/flatbuffers.h" 6 #include "root_generated.h" 7 8 using TableAddFunction = std::function<void(testing::DumpsysTestDataRootBuilder* root_builder)>; 9 10 namespace testing { 11 12 struct DumpsysTestDataClass { 13 virtual TableAddFunction GetTable(flatbuffers::FlatBufferBuilder& builder) = 0; 14 virtual ~DumpsysTestDataClass() = default; 15 }; 16 17 } // namespace testing 18