projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mutex protected snapshot data
[pulseview.git]
/
pv
/
samplingbar.h
diff --git
a/pv/samplingbar.h
b/pv/samplingbar.h
index 170379e0ce37c4b957f7ad75f239a96cd9abc282..8c6511a8f33d639b008ee1a291d09f9c5dc80505 100644
(file)
--- a/
pv/samplingbar.h
+++ b/
pv/samplingbar.h
@@
-18,8
+18,8
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SAMPLINGBAR_H
-#define SAMPLINGBAR_H
+#ifndef
PULSEVIEW_PV_
SAMPLINGBAR_H
+#define
PULSEVIEW_PV_
SAMPLINGBAR_H
#include <stdint.h>
#include <stdint.h>
@@
-46,6
+46,8
@@
public:
uint64_t get_record_length() const;
uint64_t get_sample_rate() const;
uint64_t get_record_length() const;
uint64_t get_sample_rate() const;
+ void set_sampling(bool sampling);
+
signals:
void run_stop();
signals:
void run_stop();
@@
-71,4
+73,4
@@
private:
} // namespace pv
} // namespace pv
-#endif // SAMPLINGBAR_H
+#endif //
PULSEVIEW_PV_
SAMPLINGBAR_H