From 135e339d6c1b751ff8ae93e7d1dfa43a9c7a1323 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 4 Jan 2007 20:14:20 +0000 Subject: Fixed some compile errors: - Fix error in code generator for decoding timestamps. - Add dummy op<< for framing::Content git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@492713 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/common/framing/FramingContent.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'cpp/lib') diff --git a/cpp/lib/common/framing/FramingContent.h b/cpp/lib/common/framing/FramingContent.h index 1ab3ba468b..e7dd6804d8 100644 --- a/cpp/lib/common/framing/FramingContent.h +++ b/cpp/lib/common/framing/FramingContent.h @@ -22,10 +22,10 @@ #ifndef _Content_ #define _Content_ -namespace qpid -{ -namespace framing -{ +#include + +namespace qpid { +namespace framing { /* * TODO: New Content class required for AMQP 0-9. This is a stub only. @@ -37,11 +37,14 @@ class Content void encode(Buffer& buffer) const; void decode(Buffer& buffer); - + size_t size() const; }; - -} // namespace framing -} // namespace qpid + + +// TODO aconway 2007-01-04: operator << is undefined, just for compilation. +std::ostream& operator<<(std::ostream&, const Content&); + +}} // namespace qpid::framing #endif -- cgit v1.2.1