summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/hier
diff options
context:
space:
mode:
authorJosh Blum2011-07-20 18:38:36 -0700
committerJosh Blum2011-07-20 18:38:36 -0700
commitf914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5 (patch)
tree14287905b65ded74112b7baaf4ed5cd4bfe028d9 /gnuradio-core/src/lib/hier
parent1e1798393381fe7472a7cdb5b2c3c90d7ae753fb (diff)
downloadgnuradio-f914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5.tar.gz
gnuradio-f914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5.tar.bz2
gnuradio-f914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5.zip
core: API declaration macros for core class and function symbols
Diffstat (limited to 'gnuradio-core/src/lib/hier')
-rw-r--r--gnuradio-core/src/lib/hier/gr_channel_model.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnuradio-core/src/lib/hier/gr_channel_model.h b/gnuradio-core/src/lib/hier/gr_channel_model.h
index 116b5dc14..07c0c76b6 100644
--- a/gnuradio-core/src/lib/hier/gr_channel_model.h
+++ b/gnuradio-core/src/lib/hier/gr_channel_model.h
@@ -19,6 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
+#include <gr_core_api.h>
#include <gr_top_block.h>
#include <gr_fractional_interpolator_cc.h>
#include <gr_sig_source_c.h>
@@ -31,7 +32,7 @@ class gr_channel_model;
typedef boost::shared_ptr<gr_channel_model> gr_channel_model_sptr;
-gr_channel_model_sptr gr_make_channel_model(double noise_voltage=0.0,
+GR_CORE_API gr_channel_model_sptr gr_make_channel_model(double noise_voltage=0.0,
double frequency_offset=0.0,
double epsilon=1.0,
const std::vector<gr_complex> &taps=std::vector<gr_complex>(1, 1),
@@ -41,7 +42,7 @@ gr_channel_model_sptr gr_make_channel_model(double noise_voltage=0.0,
* \brief channel simulator
* \ingroup misc_blk
*/
-class gr_channel_model : public gr_hier_block2
+class GR_CORE_API gr_channel_model : public gr_hier_block2
{
private:
gr_channel_model(double noise_voltage,
@@ -50,7 +51,7 @@ class gr_channel_model : public gr_hier_block2
const std::vector<gr_complex> &taps,
double noise_seed);
- friend gr_channel_model_sptr gr_make_channel_model(double noise_voltage,
+ friend GR_CORE_API gr_channel_model_sptr gr_make_channel_model(double noise_voltage,
double frequency_offset,
double epsilon,
const std::vector<gr_complex> &taps,