* Fixed style and indentation issues; Stefano, you might want to check your
editor's tab settings before doing more of those. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32737 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
* Copyright 2009, Haiku Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#ifndef _PROPERTY_INFO_H
|
||||
#define _PROPERTY_INFO_H
|
||||
|
||||
|
||||
#include <BeBuild.h>
|
||||
#include <Flattenable.h>
|
||||
#include <SupportDefs.h>
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
virtual ~BPropertyInfo();
|
||||
|
||||
virtual int32 FindMatch(BMessage* msg, int32 index,
|
||||
BMessage* spec, int32 form,
|
||||
BMessage* specifier, int32 form,
|
||||
const char* prop, void* data = NULL) const;
|
||||
|
||||
virtual bool IsFixedSize() const;
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
virtual ssize_t FlattenedSize() const;
|
||||
virtual status_t Flatten(void* buffer, ssize_t size) const;
|
||||
virtual bool AllowsTypeCode(type_code code) const;
|
||||
virtual status_t Unflatten(type_code code, const void* buf,
|
||||
virtual status_t Unflatten(type_code code, const void* buffer,
|
||||
ssize_t size);
|
||||
|
||||
const property_info* Properties() const;
|
||||
@@ -76,8 +76,9 @@ public:
|
||||
void PrintToStream() const;
|
||||
|
||||
protected:
|
||||
static bool FindCommand(uint32, int32, property_info*);
|
||||
static bool FindSpecifier(uint32, property_info*);
|
||||
static bool FindCommand(uint32 what, int32 index,
|
||||
property_info* info);
|
||||
static bool FindSpecifier(uint32 form, property_info* info);
|
||||
|
||||
private:
|
||||
virtual void _ReservedPropertyInfo1();
|
||||
@@ -85,8 +86,8 @@ private:
|
||||
virtual void _ReservedPropertyInfo3();
|
||||
virtual void _ReservedPropertyInfo4();
|
||||
|
||||
BPropertyInfo(const BPropertyInfo&);
|
||||
BPropertyInfo& operator=(const BPropertyInfo &);
|
||||
BPropertyInfo(const BPropertyInfo& other);
|
||||
BPropertyInfo& operator=(const BPropertyInfo& other);
|
||||
void FreeMem();
|
||||
|
||||
property_info* fPropInfo;
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
* Copyright 2009, Haiku Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#ifndef _PROPERTY_INFO_H
|
||||
#define _PROPERTY_INFO_H
|
||||
|
||||
|
||||
#include <BeBuild.h>
|
||||
#include <Flattenable.h>
|
||||
#include <SupportDefs.h>
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
virtual ~BPropertyInfo();
|
||||
|
||||
virtual int32 FindMatch(BMessage* msg, int32 index,
|
||||
BMessage* spec, int32 form,
|
||||
BMessage* specifier, int32 form,
|
||||
const char* prop, void* data = NULL) const;
|
||||
|
||||
virtual bool IsFixedSize() const;
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
virtual ssize_t FlattenedSize() const;
|
||||
virtual status_t Flatten(void* buffer, ssize_t size) const;
|
||||
virtual bool AllowsTypeCode(type_code code) const;
|
||||
virtual status_t Unflatten(type_code code, const void* buf,
|
||||
virtual status_t Unflatten(type_code code, const void* buffer,
|
||||
ssize_t size);
|
||||
|
||||
const property_info* Properties() const;
|
||||
@@ -76,8 +76,9 @@ public:
|
||||
void PrintToStream() const;
|
||||
|
||||
protected:
|
||||
static bool FindCommand(uint32, int32, property_info*);
|
||||
static bool FindSpecifier(uint32, property_info*);
|
||||
static bool FindCommand(uint32 what, int32 index,
|
||||
property_info* info);
|
||||
static bool FindSpecifier(uint32 form, property_info* info);
|
||||
|
||||
private:
|
||||
virtual void _ReservedPropertyInfo1();
|
||||
@@ -85,8 +86,8 @@ private:
|
||||
virtual void _ReservedPropertyInfo3();
|
||||
virtual void _ReservedPropertyInfo4();
|
||||
|
||||
BPropertyInfo(const BPropertyInfo&);
|
||||
BPropertyInfo& operator=(const BPropertyInfo &);
|
||||
BPropertyInfo(const BPropertyInfo& other);
|
||||
BPropertyInfo& operator=(const BPropertyInfo& other);
|
||||
void FreeMem();
|
||||
|
||||
property_info* fPropInfo;
|
||||
|
||||
Reference in New Issue
Block a user