projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DeviceManager: Added const context accessor
[pulseview.git]
/
pv
/
devicemanager.cpp
diff --git
a/pv/devicemanager.cpp
b/pv/devicemanager.cpp
index 0c6c354fe6f12e14c06a7cfa955464b8049f4088..326cbca80f5daa0bb278ff388478fb1776d96dda 100644
(file)
--- a/
pv/devicemanager.cpp
+++ b/
pv/devicemanager.cpp
@@
-27,7
+27,7
@@
#include <string>
#include <vector>
#include <string>
#include <vector>
-#include <libsigrok
/libsigrok
.hpp>
+#include <libsigrok
cxx/libsigrokcxx
.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/filesystem.hpp>
@@
-65,6
+65,11
@@
DeviceManager::~DeviceManager()
{
}
{
}
+const std::shared_ptr<sigrok::Context>& DeviceManager::context() const
+{
+ return context_;
+}
+
shared_ptr<Context> DeviceManager::context()
{
return context_;
shared_ptr<Context> DeviceManager::context()
{
return context_;