8db289eea4e5322306cf87b8db276b25c0962433
[senf.git] / senf / Packets / 80221Bundle / MIHMessageRegistry.hh
1 // $Id$
2 //
3 // Copyright (C) 2009
4 // Fraunhofer Institute for Open Communication Systems (FOKUS)
5 // Competence Center NETwork research (NET), St. Augustin, GERMANY
6 //     Thorsten Horstmann <tho@berlios.de>
7 //
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 // GNU General Public License for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the
20 // Free Software Foundation, Inc.,
21 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
23 /** \file
24     \brief MIH Message-Registry public header */
25
26 #ifndef HH_SENF_Packets_80221Bundle_MIHMessageRegistry_
27 #define HH_SENF_Packets_80221Bundle_MIHMessageRegistry_ 1
28
29 // Custom includes
30 #include <senf/Packets/Packets.hh>
31
32 //#include "MIHPacket.mpp"
33 //-/////////////////////////////////////////////////////////////////////////////////////////////////
34
35 namespace senf {
36
37     struct MIHMessageRegistry {
38         // MIH messages registry
39         typedef boost::uint16_t key_t;
40     };
41
42 #   define SENF_MIH_PACKET_REGISTRY_REGISTER( packet )                    \
43         SENF_PACKET_REGISTRY_REGISTER(                                    \
44             senf::MIHMessageRegistry, packet::type::MESSAGE_ID, packet )
45
46 }
47 //-/////////////////////////////////////////////////////////////////////////////////////////////////
48 //#include "MIHPacket.cci"
49 //#include "MIHPacket.ct"
50 //#include "MIHPacket.cti"
51 #endif
52
53
54 \f
55 // Local Variables:
56 // mode: c++
57 // fill-column: 100
58 // c-file-style: "senf"
59 // indent-tabs-mode: nil
60 // ispell-local-dictionary: "american"
61 // compile-command: "scons -u test"
62 // comment-column: 40
63 // End: