From e4a6cc2fdd47884582cbec40a3c1116c35a5a75e Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 20 Dec 2013 18:51:42 +0000 Subject: NO-JIRA: Rename Message_ostream.h/.cpp to Message_io.h/.cpp. Allow for addition of istream operator in future. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552780 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/include/qpid/messaging/Message_io.h | 34 +++++++++++++++++++++++ qpid/cpp/include/qpid/messaging/Message_ostream.h | 34 ----------------------- 2 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 qpid/cpp/include/qpid/messaging/Message_io.h delete mode 100644 qpid/cpp/include/qpid/messaging/Message_ostream.h (limited to 'qpid/cpp/include') diff --git a/qpid/cpp/include/qpid/messaging/Message_io.h b/qpid/cpp/include/qpid/messaging/Message_io.h new file mode 100644 index 0000000000..810c44810c --- /dev/null +++ b/qpid/cpp/include/qpid/messaging/Message_io.h @@ -0,0 +1,34 @@ +#ifndef QPID_MESSAGING_MESSAGE_IO_H +#define QPID_MESSAGING_MESSAGE_IO_H + +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ +#include "Message.h" +#include + +namespace qpid { +namespace messaging { + +QPID_MESSAGING_EXTERN std::ostream& operator<<(std::ostream&, const Message&); + +}} // namespace qpid::messaging + +#endif /*!QPID_MESSAGING_MESSAGE_IO_H*/ diff --git a/qpid/cpp/include/qpid/messaging/Message_ostream.h b/qpid/cpp/include/qpid/messaging/Message_ostream.h deleted file mode 100644 index f5e36bda24..0000000000 --- a/qpid/cpp/include/qpid/messaging/Message_ostream.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef QPID_MESSAGING_MESSAGE_OSTREAM_H -#define QPID_MESSAGING_MESSAGE_OSTREAM_H - -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ -#include "Message.h" -#include - -namespace qpid { -namespace messaging { - -QPID_MESSAGING_EXTERN std::ostream& operator<<(std::ostream&, const Message&); - -}} // namespace qpid::messaging - -#endif /*!QPID_MESSAGING_MESSAGE_OSTREAM_H*/ -- cgit v1.2.1