projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a tooltip for the "Delete decoder trace" icon.
[pulseview.git]
/
pv
/
devicemanager.cpp
diff --git
a/pv/devicemanager.cpp
b/pv/devicemanager.cpp
index b11e60c7705a3c89f137047d903b164de08521c1..a51148b1d3ad2851a55888749312cb12b837e523 100644
(file)
--- a/
pv/devicemanager.cpp
+++ b/
pv/devicemanager.cpp
@@
-14,8
+14,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "devicemanager.hpp"
*/
#include "devicemanager.hpp"
@@
-23,38
+22,29
@@
#include <cassert>
#include <functional>
#include <cassert>
#include <functional>
-#include <stdexcept>
#include <sstream>
#include <sstream>
+#include <stdexcept>
#include <string>
#include <string>
-#include <vector>
#include <libsigrokcxx/libsigrokcxx.hpp>
#include <libsigrokcxx/libsigrokcxx.hpp>
-#include <boost/algorithm/string/join.hpp>
#include <boost/filesystem.hpp>
#include <pv/devices/hardwaredevice.hpp>
#include <boost/filesystem.hpp>
#include <pv/devices/hardwaredevice.hpp>
-using boost::algorithm::join;
-
using std::bind;
using std::bind;
-using std::dynamic_pointer_cast;
using std::list;
using std::map;
using std::placeholders::_1;
using std::placeholders::_2;
using std::list;
using std::map;
using std::placeholders::_1;
using std::placeholders::_2;
-using std::remove_if;
-using std::runtime_error;
using std::shared_ptr;
using std::string;
using std::shared_ptr;
using std::string;
-using std::vector;
using Glib::VariantBase;
using sigrok::ConfigKey;
using sigrok::Context;
using sigrok::Driver;
using Glib::VariantBase;
using sigrok::ConfigKey;
using sigrok::Context;
using sigrok::Driver;
-using sigrok::SessionDevice;
namespace pv {
namespace pv {
@@
-65,11
+55,7
@@
DeviceManager::DeviceManager(shared_ptr<Context> context) :
driver_scan(entry.second, map<const ConfigKey *, VariantBase>());
}
driver_scan(entry.second, map<const ConfigKey *, VariantBase>());
}
-DeviceManager::~DeviceManager()
-{
-}
-
-const std::shared_ptr<sigrok::Context>& DeviceManager::context() const
+const shared_ptr<sigrok::Context>& DeviceManager::context() const
{
return context_;
}
{
return context_;
}