* Made Dump() const.
* Removed superfluous whitespace. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26347 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* Copyright 2005-2007, Ingo Weinhold, [email protected]. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
@@ -135,7 +135,7 @@ public:
|
||||
status_t ReceiveFrom(port_id fromPort, bigtime_t timeout = -1,
|
||||
port_message_info* messageInfo = NULL);
|
||||
|
||||
void Dump(void (*printFunc)(const char*,...));
|
||||
void Dump(void (*printFunc)(const char*,...)) const;
|
||||
|
||||
private:
|
||||
friend class KMessageField;
|
||||
@@ -201,7 +201,7 @@ public:
|
||||
type_code TypeCode() const;
|
||||
bool HasFixedElementSize() const;
|
||||
int32 ElementSize() const; // if HasFixedElementSize()
|
||||
|
||||
|
||||
status_t AddElement(const void *data, int32 size = -1);
|
||||
status_t AddElements(const void *data, int32 count, int32 elementSize = -1);
|
||||
const void *ElementAt(int32 index, int32 *size = NULL) const;
|
||||
|
||||
Reference in New Issue
Block a user