X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fanalogsnapshot.h;h=9e2e782ae124838c336da09e55b96d3680582c0a;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hp=9c7f4d51ae982bc76cad204995cbcbbc380ec241;hpb=bb2cdfffd5817feb7a6dcde19b6110a6c253a261;p=pulseview.git diff --git a/pv/data/analogsnapshot.h b/pv/data/analogsnapshot.h index 9c7f4d5..9e2e782 100644 --- a/pv/data/analogsnapshot.h +++ b/pv/data/analogsnapshot.h @@ -27,7 +27,7 @@ #include namespace AnalogSnapshotTest { -class Basic; +struct Basic; } namespace pv { @@ -66,7 +66,7 @@ private: static const uint64_t EnvelopeDataUnit; public: - AnalogSnapshot(); + AnalogSnapshot(uint64_t expected_num_samples = 0); virtual ~AnalogSnapshot(); @@ -85,9 +85,9 @@ private: void append_payload_to_envelope_levels(); private: - struct Envelope _envelope_levels[ScaleStepCount]; + struct Envelope envelope_levels_[ScaleStepCount]; - friend class AnalogSnapshotTest::Basic; + friend struct AnalogSnapshotTest::Basic; }; } // namespace data