projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wait until SDI is set before updating sweep timing widgets.
[pulseview.git]
/
pv
/
data
/
snapshot.h
diff --git
a/pv/data/snapshot.h
b/pv/data/snapshot.h
index 7f36ee7886ddaa528633a293701c09cdb94b09de..1758d4cddaa7720f35a02449d344b311274cfcc1 100644
(file)
--- a/
pv/data/snapshot.h
+++ b/
pv/data/snapshot.h
@@
-21,9
+21,7
@@
#ifndef PULSEVIEW_PV_DATA_SNAPSHOT_H
#define PULSEVIEW_PV_DATA_SNAPSHOT_H
#ifndef PULSEVIEW_PV_DATA_SNAPSHOT_H
#define PULSEVIEW_PV_DATA_SNAPSHOT_H
-extern "C" {
#include <libsigrok/libsigrok.h>
#include <libsigrok/libsigrok.h>
-}
#include <boost/thread.hpp>
#include <boost/thread.hpp>
@@
-37,7
+35,9
@@
public:
virtual ~Snapshot();
virtual ~Snapshot();
- uint64_t get_sample_count();
+ uint64_t get_sample_count() const;
+
+ int unit_size() const;
protected:
void append_data(void *data, uint64_t samples);
protected:
void append_data(void *data, uint64_t samples);