projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added pv::device::Device
[pulseview.git]
/
pv
/
device
/
devinst.h
diff --git
a/pv/device/devinst.h
b/pv/device/devinst.h
index 073813f2f7d1d03f418c05b07952ecc63fe784c4..6e81f49c686fcc8ab1424ed2836ae6e859e5e348 100644
(file)
--- a/
pv/device/devinst.h
+++ b/
pv/device/devinst.h
@@
-42,12
+42,13
@@
class DevInst : public QObject
{
Q_OBJECT
{
Q_OBJECT
-p
ublic
:
+p
rotected
:
DevInst(sr_dev_inst *sdi);
DevInst(sr_dev_inst *sdi);
+public:
sr_dev_inst* dev_inst() const;
sr_dev_inst* dev_inst() const;
-
std::string format_device_title() const
;
+
virtual std::string format_device_title() const = 0
;
GVariant* get_config(const sr_probe_group *group, int key);
GVariant* get_config(const sr_probe_group *group, int key);
@@
-68,7
+69,7
@@
public:
signals:
void config_changed();
signals:
void config_changed();
-pr
ivate
:
+pr
otected
:
sr_dev_inst *const _sdi;
};
sr_dev_inst *const _sdi;
};