From 5f17d1ffb7106b914b1e3d3af47809d75ca5e011 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 20 Jul 2011 15:11:30 -0700 Subject: uhd: forward declare property tree in device so gnuradio swig cant complain --- host/include/uhd/device.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'host/include') diff --git a/host/include/uhd/device.hpp b/host/include/uhd/device.hpp index 40969c29c..a6571d027 100644 --- a/host/include/uhd/device.hpp +++ b/host/include/uhd/device.hpp @@ -19,7 +19,6 @@ #define INCLUDED_UHD_DEVICE_HPP #include -#include #include #include #include @@ -31,6 +30,8 @@ namespace uhd{ +class property_tree; //forward declaration + /*! * The usrp device interface represents the usrp hardware. * The api allows for discovery, configuration, and streaming. @@ -199,7 +200,7 @@ public: ) = 0; //! Get access to the underlying property structure - virtual property_tree::sptr get_tree(void) const = 0; + virtual boost::shared_ptr get_tree(void) const = 0; }; -- cgit v1.2.3