Add initial NSIS file for building a win installer.
[pulseview.git] / datasnapshot.h
index 315e3561562932e39e2ceedec6d53bfb68525065..3bf12f9d70120e1a5c8a12f8ccd886615fadce63 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>
  *
@@ -25,10 +25,17 @@ extern "C" {
 class DataSnapshot
 {
 public:
-       DataSnapshot();
+       DataSnapshot(int unit_size);
+
+       virtual ~DataSnapshot();
 
        uint64_t get_sample_count();
 
 protected:
+       void append_data(void *data, uint64_t samples);
+
+protected:
+       void *_data;
        uint64_t _sample_count;
+       int _unit_size;
 };