summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-20 15:11:30 -0700
committerJosh Blum <josh@joshknows.com>2011-07-20 15:11:30 -0700
commit5f17d1ffb7106b914b1e3d3af47809d75ca5e011 (patch)
treedce721bf794bacd0bcfa6d49d4d7381c1a151ed4 /host/include
parent9851de0713b4c6d14a870a1d8816451ca518ff52 (diff)
downloaduhd-5f17d1ffb7106b914b1e3d3af47809d75ca5e011.tar.gz
uhd-5f17d1ffb7106b914b1e3d3af47809d75ca5e011.tar.bz2
uhd-5f17d1ffb7106b914b1e3d3af47809d75ca5e011.zip
uhd: forward declare property tree in device so gnuradio swig cant complain
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/device.hpp5
1 files changed, 3 insertions, 2 deletions
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 <uhd/config.hpp>
-#include <uhd/property_tree.hpp>
#include <uhd/types/device_addr.hpp>
#include <uhd/types/metadata.hpp>
#include <uhd/types/io_type.hpp>
@@ -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<property_tree> get_tree(void) const = 0;
};