diff options
Diffstat (limited to 'libcmix-common/cmixprotofunctor.cpp')
| -rw-r--r-- | libcmix-common/cmixprotofunctor.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libcmix-common/cmixprotofunctor.cpp b/libcmix-common/cmixprotofunctor.cpp deleted file mode 100644 index 525b3c9..0000000 --- a/libcmix-common/cmixprotofunctor.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "cmixprotofunctor.hpp" - -#define MESSAGE_SETTER_DEF(TYPE, NAME) \ - CMixProtoFunctor::proto_type CMixProtoFunctor::operator()(cmix_proto::TYPE const& v) { \ - proto_type m; \ - *m.mutable_##NAME() = v; \ - return m; \ - } \ - -MESSAGE_SETTER_DEF(Initialization, initialization) -MESSAGE_SETTER_DEF(ImANode, imanode) -MESSAGE_SETTER_DEF(ImAClient, imaclient) -MESSAGE_SETTER_DEF(Bye, bye) -MESSAGE_SETTER_DEF(KeyExchange, keyexchange) -MESSAGE_SETTER_DEF(SecretKey, secretkey) -MESSAGE_SETTER_DEF(NodeReady, nodeready) - -#undef MESSAGE_SETTER_DEF
\ No newline at end of file |
