]> sigrok.org Git - pulseview.git/blobdiff - signaldata.h
Small consistency fix in a header.
[pulseview.git] / signaldata.h
index 74d1facd3bc944c24368282ccdf7aec6628ca47d..d85d4369a1bf78e0bbe892ab5fad740311c5838f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of the sigrok project.
+ * This file is part of the PulseView project.
  *
  * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
  *
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#include <boost/shared_ptr.hpp>
-#include <queue>
 #include <stdint.h>
 
-class DataSnapshot;
-
 class SignalData
 {
 public:
-       SignalData(uint64_t samplerate);
+       SignalData(double samplerate);
 
-protected:
-       const uint64_t _samplerate;
+public:
+       double get_samplerate() const;
+       double get_start_time() const;
 
-       std::queue< boost::shared_ptr<DataSnapshot> > _snapshots;
+protected:
+       const double _samplerate;
+       const double _start_time;
 };