Removed (unimplemented) BMessageBody::Unflatten() as Unflattening happens directly at the BMessage level.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13647 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2005-07-12 17:49:33 +00:00
parent 13b42e5eb4
commit 9ea776d708
2 changed files with 0 additions and 14 deletions

View File

@ -81,8 +81,6 @@ public:
// Flattening data // Flattening data
ssize_t FlattenedSize() const; ssize_t FlattenedSize() const;
status_t Flatten(BDataIO *stream) const; status_t Flatten(BDataIO *stream) const;
status_t Unflatten(const char *flat_buffer);
status_t Unflatten(BDataIO *stream);
// Removing data // Removing data
status_t RemoveData(const char *name, int32 index = 0); status_t RemoveData(const char *name, int32 index = 0);

View File

@ -245,18 +245,6 @@ status_t BMessageBody::Flatten(BDataIO* stream) const
return err; return err;
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
status_t BMessageBody::Unflatten(const char* flat_buffer)
{
// TODO: implement
return B_ERROR;
}
//------------------------------------------------------------------------------
status_t BMessageBody::Unflatten(BDataIO* stream)
{
// TODO: implement
return B_ERROR;
}
//------------------------------------------------------------------------------
status_t BMessageBody::AddData(const char* name, type_code type, status_t BMessageBody::AddData(const char* name, type_code type,
const void* data, ssize_t numBytes, const void* data, ssize_t numBytes,
bool is_fixed_size, int32 /* count */) bool is_fixed_size, int32 /* count */)