summaryrefslogtreecommitdiff
path: root/include/gnuradio/element.hpp
diff options
context:
space:
mode:
authorJosh Blum2012-09-10 00:07:24 -0700
committerJosh Blum2012-09-10 00:07:24 -0700
commitda20a4f4ca1b314db6d1f45a0018343cc2cc2151 (patch)
tree924844375a1442fe428ec572fa2972e8e854b487 /include/gnuradio/element.hpp
parent0ed890033370ae853014f0d34065d9f566e86e54 (diff)
downloadsandhi-da20a4f4ca1b314db6d1f45a0018343cc2cc2151.tar.gz
sandhi-da20a4f4ca1b314db6d1f45a0018343cc2cc2151.tar.bz2
sandhi-da20a4f4ca1b314db6d1f45a0018343cc2cc2151.zip
created gras.hpp header for common defs
Diffstat (limited to 'include/gnuradio/element.hpp')
-rw-r--r--include/gnuradio/element.hpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/include/gnuradio/element.hpp b/include/gnuradio/element.hpp
index 4cad346..510a383 100644
--- a/include/gnuradio/element.hpp
+++ b/include/gnuradio/element.hpp
@@ -17,22 +17,15 @@
#ifndef INCLUDED_GNURADIO_ELEMENT_HPP
#define INCLUDED_GNURADIO_ELEMENT_HPP
-#include <gruel/pmt.h>
+#include <gnuradio/gras.hpp>
#include <gnuradio/io_signature.hpp>
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
-
-//this is part of core for now, treat it as such
-#include <gr_core_api.h>
-#define GR_RUNTIME_API GR_CORE_API
+#include <gruel/pmt.h>
namespace gnuradio
{
-struct ElementImpl;
-
-struct GR_RUNTIME_API Element : boost::shared_ptr<ElementImpl>, boost::enable_shared_from_this<Element>
+struct GRAS_API Element : boost::shared_ptr<ElementImpl>, boost::enable_shared_from_this<Element>
{
//! Create an empty element