Moved the kMessageHeaderMagic constant into the class. Made BMessage a friend of KMessage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11059 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -100,6 +100,7 @@ public:
|
||||
|
||||
private:
|
||||
friend class KMessageField;
|
||||
friend class BMessage; // not so nice, but makes things easier
|
||||
|
||||
struct Header {
|
||||
uint32 magic;
|
||||
@@ -141,6 +142,8 @@ private:
|
||||
int32 fBufferCapacity;
|
||||
uint32 fFlags;
|
||||
int32 fLastFieldOffset;
|
||||
|
||||
static const uint32 kMessageHeaderMagic;
|
||||
};
|
||||
|
||||
// KMessageField
|
||||
|
||||
Reference in New Issue
Block a user