#include <vector>
namespace AnalogSnapshotTest {
-class Basic;
+struct Basic;
}
namespace pv {
private:
struct Envelope _envelope_levels[ScaleStepCount];
- friend class AnalogSnapshotTest::Basic;
+ friend struct AnalogSnapshotTest::Basic;
};
} // namespace data
struct srd_session;
namespace DecoderStackTest {
-class TwoDecoderStack;
+struct TwoDecoderStack;
}
namespace pv {
std::thread _decode_thread;
std::atomic<bool> _interrupt;
- friend class DecoderStackTest::TwoDecoderStack;
+ friend struct DecoderStackTest::TwoDecoderStack;
};
} // namespace data
#include <vector>
namespace LogicSnapshotTest {
-class Pow2;
-class Basic;
-class LargeData;
-class Pulses;
-class LongPulses;
+struct Pow2;
+struct Basic;
+struct LargeData;
+struct Pulses;
+struct LongPulses;
}
namespace pv {
struct MipMapLevel _mip_map[ScaleStepCount];
uint64_t _last_append_sample;
- friend class LogicSnapshotTest::Pow2;
- friend class LogicSnapshotTest::Basic;
- friend class LogicSnapshotTest::LargeData;
- friend class LogicSnapshotTest::Pulses;
- friend class LogicSnapshotTest::LongPulses;
+ friend struct LogicSnapshotTest::Pow2;
+ friend struct LogicSnapshotTest::Basic;
+ friend struct LogicSnapshotTest::LargeData;
+ friend struct LogicSnapshotTest::Pulses;
+ friend struct LogicSnapshotTest::LongPulses;
};
} // namespace data