Packets/80221Bundle: swap out MIHMessageRegistry in own header file; documentation...
[senf.git] / senf / Packets / 80221Bundle / MIHPacket.hh
index 227d7cd..1efe4b6 100644 (file)
 // Custom includes
 #include <senf/Packets/Packets.hh>
 #include "TLVParser.hh"
+#include "MIHMessageRegistry.hh"
 
 //#include "MIHPacket.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
 
 namespace senf {
 
-    struct MIHMessageRegistry {
-        // MIH messages registry
-        typedef boost::uint16_t key_t;
-    };
-
-#   define SENF_MIH_PACKET_REGISTRY_REGISTER( packet )                    \
-        SENF_PACKET_REGISTRY_REGISTER(                                    \
-            senf::MIHMessageRegistry, packet::type::MESSAGE_ID, packet )
-
-
     /** \brief Parse a MIH packet
 
         Parser implementing the MIH header. The fields implemented are: