Initial interractive zoom support
[pulseview.git] / signaldata.cpp
index 8588e5daa308388eab4f3cc71ba942d6d8adaed0..0ddb34a7387d178d3a2ad8a6a578914ac2a997a9 100644 (file)
 
 #include "signaldata.h"
 
+using namespace std;
+
 SignalData::SignalData(uint64_t samplerate) :
-       _samplerate(samplerate)
+       _samplerate(samplerate),
+       _start_time(0)
+{
+}
+
+uint64_t SignalData::get_samplerate() const
 {
+       return _samplerate;
 }
+
+int64_t SignalData::get_start_time() const
+{
+       return _start_time;
+}
\ No newline at end of file