]> sigrok.org Git - pulseview.git/blobdiff - logicdata.h
Small consistency fix in a header.
[pulseview.git] / logicdata.h
index f835db5ca9f8f9786b93491b11731090fb256dde..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>
 }
@@ -36,6 +39,11 @@ public:
        void push_snapshot(
                boost::shared_ptr<LogicDataSnapshot> &snapshot);
 
+       std::deque< boost::shared_ptr<LogicDataSnapshot> >&
+               get_snapshots();
+
 private:
        const int _num_probes;
+       std::deque< boost::shared_ptr<LogicDataSnapshot> >
+               _snapshots;
 };