Add initial NSIS file for building a win installer.
[pulseview.git] / logicdata.h
index 6ba8679e34c4610dea9543b4725cdb4f3bc9d86b..cde8eef65559697114fac9c8ec0a0eefcf70467b 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>
  *
@@ -20,6 +20,9 @@
 
 #include "signaldata.h"
 
+#include <boost/shared_ptr.hpp>
+#include <deque>
+
 extern "C" {
 #include <libsigrok/libsigrok.h>
 }
@@ -31,9 +34,16 @@ class LogicData : public SignalData
 public:
        LogicData(const sr_datafeed_meta_logic &meta);
 
+       int get_num_probes() const;
+
        void push_snapshot(
                boost::shared_ptr<LogicDataSnapshot> &snapshot);
 
+       std::deque< boost::shared_ptr<LogicDataSnapshot> >&
+               get_snapshots();
+
 private:
-       int _num_probes;
+       const int _num_probes;
+       std::deque< boost::shared_ptr<LogicDataSnapshot> >
+               _snapshots;
 };