Forbid copying and assignment in layout classes.
Specifically in: * BAbstractLayout * BAbstractLayoutItem * BGridLayout * BGridView * BGroupLayout * BGroupView * BLayout * BSplitView * BTwoDimensionalLayout
This commit is contained in:
parent
8151838e38
commit
e044d51aa8
@ -57,6 +57,10 @@ private:
|
||||
virtual void _ReservedAbstractLayout9();
|
||||
virtual void _ReservedAbstractLayout10();
|
||||
|
||||
// forbidden methods
|
||||
BAbstractLayout(const BAbstractLayout&);
|
||||
void operator =(const BAbstractLayout&);
|
||||
|
||||
struct Proxy;
|
||||
struct ViewProxy;
|
||||
struct DataProxy;
|
||||
|
@ -47,6 +47,10 @@ private:
|
||||
virtual void _ReservedAbstractLayoutItem9();
|
||||
virtual void _ReservedAbstractLayoutItem10();
|
||||
|
||||
// forbidden methods
|
||||
BAbstractLayoutItem(const BAbstractLayoutItem&);
|
||||
void operator =(const BAbstractLayoutItem&);
|
||||
|
||||
BSize fMinSize;
|
||||
BSize fMaxSize;
|
||||
BSize fPreferredSize;
|
||||
|
@ -111,6 +111,10 @@ private:
|
||||
virtual void _ReservedGridLayout9();
|
||||
virtual void _ReservedGridLayout10();
|
||||
|
||||
// forbidden methods
|
||||
BGridLayout(const BGridLayout&);
|
||||
void operator =(const BGridLayout&);
|
||||
|
||||
BLayoutItem*** fGrid;
|
||||
int32 fColumnCount;
|
||||
int32 fRowCount;
|
||||
|
@ -24,6 +24,12 @@ public:
|
||||
BGridLayout* GridLayout() const;
|
||||
|
||||
static BArchivable* Instantiate(BMessage* from);
|
||||
|
||||
private:
|
||||
|
||||
// forbidden methods
|
||||
BGridView(const BGridView&);
|
||||
void operator =(const BGridView&);
|
||||
};
|
||||
|
||||
|
||||
|
@ -75,6 +75,10 @@ private:
|
||||
virtual void _ReservedGroupLayout9();
|
||||
virtual void _ReservedGroupLayout10();
|
||||
|
||||
// forbidden methods
|
||||
BGroupLayout(const BGroupLayout&);
|
||||
void operator =(const BGroupLayout&);
|
||||
|
||||
struct ItemLayoutData;
|
||||
|
||||
ItemLayoutData* _LayoutDataForItem(BLayoutItem* item) const;
|
||||
|
@ -25,6 +25,12 @@ public:
|
||||
BGroupLayout* GroupLayout() const;
|
||||
|
||||
static BArchivable* Instantiate(BMessage* from);
|
||||
|
||||
private:
|
||||
|
||||
// forbidden methods
|
||||
BGroupView(const BGroupView&);
|
||||
void operator =(const BGroupView&);
|
||||
};
|
||||
|
||||
|
||||
|
@ -104,6 +104,10 @@ private:
|
||||
virtual void _ReservedLayout9();
|
||||
virtual void _ReservedLayout10();
|
||||
|
||||
// forbidden methods
|
||||
BLayout(const BLayout&);
|
||||
void operator =(const BLayout&);
|
||||
|
||||
friend class BView;
|
||||
|
||||
void SetOwner(BView* owner);
|
||||
|
@ -93,6 +93,10 @@ private:
|
||||
virtual void _ReservedSplitView9();
|
||||
virtual void _ReservedSplitView10();
|
||||
|
||||
// forbidden methods
|
||||
BSplitView(const BSplitView&);
|
||||
void operator =(const BSplitView&);
|
||||
|
||||
static void _DrawDefaultSplitter(BView* view, BRect frame,
|
||||
const BRect& updateRect,
|
||||
enum orientation orientation,
|
||||
|
@ -110,6 +110,11 @@ private:
|
||||
virtual void _ReservedTwoDimensionalLayout9();
|
||||
virtual void _ReservedTwoDimensionalLayout10();
|
||||
|
||||
// forbidden methods
|
||||
BTwoDimensionalLayout(
|
||||
const BTwoDimensionalLayout&);
|
||||
void operator =(const BTwoDimensionalLayout&);
|
||||
|
||||
LocalLayouter* fLocalLayouter;
|
||||
|
||||
uint32 _reserved[5];
|
||||
|
Loading…
Reference in New Issue
Block a user