projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add serial_num/connection_id handling and save/restore last device
[pulseview.git]
/
pv
/
device
/
device.h
diff --git
a/pv/device/device.h
b/pv/device/device.h
index fcf74c31acb1a46b792418ecbcede244859a93a3..0a908a7962d451034d732cddd88e3abbb6809c93 100644
(file)
--- a/
pv/device/device.h
+++ b/
pv/device/device.h
@@
-21,6
+21,9
@@
#ifndef PULSEVIEW_PV_DEVICE_DEVICE_H
#define PULSEVIEW_PV_DEVICE_DEVICE_H
#ifndef PULSEVIEW_PV_DEVICE_DEVICE_H
#define PULSEVIEW_PV_DEVICE_DEVICE_H
+#include <map>
+#include <string>
+
#include "devinst.h"
namespace pv {
#include "devinst.h"
namespace pv {
@@
-33,9
+36,13
@@
public:
sr_dev_inst* dev_inst() const;
sr_dev_inst* dev_inst() const;
+ void use(SigSession *owner) throw(QString);
+
+ void release();
+
std::string format_device_title() const;
std::string format_device_title() const;
-
bool is_trigger_enabled
() const;
+
std::map<std::string, std::string> get_device_info
() const;
private:
sr_dev_inst *const _sdi;
private:
sr_dev_inst *const _sdi;