projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add initial NSIS file for building a win installer.
[pulseview.git]
/
datasnapshot.h
diff --git
a/datasnapshot.h
b/datasnapshot.h
index 315e3561562932e39e2ceedec6d53bfb68525065..3bf12f9d70120e1a5c8a12f8ccd886615fadce63 100644
(file)
--- a/
datasnapshot.h
+++ b/
datasnapshot.h
@@
-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>
*
*
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
*
@@
-25,10
+25,17
@@
extern "C" {
class DataSnapshot
{
public:
class DataSnapshot
{
public:
- DataSnapshot();
+ DataSnapshot(int unit_size);
+
+ virtual ~DataSnapshot();
uint64_t get_sample_count();
protected:
uint64_t get_sample_count();
protected:
+ void append_data(void *data, uint64_t samples);
+
+protected:
+ void *_data;
uint64_t _sample_count;
uint64_t _sample_count;
+ int _unit_size;
};
};