Add pmt type that wraps a gruel::msg_accepter.
[debian/gnuradio] / gruel / src / include / gruel / msg_accepter.h
index 3afd6dde08fb4616354c6af017fc8968e8246277..70ac846f53d643496319d7d8989d4c5c4870735d 100644 (file)
@@ -22,6 +22,7 @@
 #define INCLUDED_GRUEL_MSG_ACCEPTER_H
 
 #include <gruel/pmt.h>
+#include <boost/shared_ptr.hpp>
 
 namespace gruel {
 
@@ -44,6 +45,8 @@ namespace gruel {
     virtual void post(pmt::pmt_t msg) = 0;
   };
 
+  typedef boost::shared_ptr<msg_accepter> msg_accepter_sptr;
+
 } /* namespace gruel */
 
 #endif /* INCLUDED_GRUEL_MSG_ACCEPTER_H */