diff --git a/headers/os/interface/AbstractLayout.h b/headers/os/interface/AbstractLayout.h index 3d419ac0c1..c24724427f 100644 --- a/headers/os/interface/AbstractLayout.h +++ b/headers/os/interface/AbstractLayout.h @@ -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; diff --git a/headers/os/interface/AbstractLayoutItem.h b/headers/os/interface/AbstractLayoutItem.h index 3f0bdaea6c..4ddf0cfd4e 100644 --- a/headers/os/interface/AbstractLayoutItem.h +++ b/headers/os/interface/AbstractLayoutItem.h @@ -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; diff --git a/headers/os/interface/GridLayout.h b/headers/os/interface/GridLayout.h index ed873c61e2..4f8dac3900 100644 --- a/headers/os/interface/GridLayout.h +++ b/headers/os/interface/GridLayout.h @@ -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; diff --git a/headers/os/interface/GridView.h b/headers/os/interface/GridView.h index 220ee326be..3e0279c0c6 100644 --- a/headers/os/interface/GridView.h +++ b/headers/os/interface/GridView.h @@ -24,6 +24,12 @@ public: BGridLayout* GridLayout() const; static BArchivable* Instantiate(BMessage* from); + +private: + + // forbidden methods + BGridView(const BGridView&); + void operator =(const BGridView&); }; diff --git a/headers/os/interface/GroupLayout.h b/headers/os/interface/GroupLayout.h index cb0b9f0c75..a64d05058a 100644 --- a/headers/os/interface/GroupLayout.h +++ b/headers/os/interface/GroupLayout.h @@ -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; diff --git a/headers/os/interface/GroupView.h b/headers/os/interface/GroupView.h index ad4644a72c..f272eb905e 100644 --- a/headers/os/interface/GroupView.h +++ b/headers/os/interface/GroupView.h @@ -25,6 +25,12 @@ public: BGroupLayout* GroupLayout() const; static BArchivable* Instantiate(BMessage* from); + +private: + + // forbidden methods + BGroupView(const BGroupView&); + void operator =(const BGroupView&); }; diff --git a/headers/os/interface/Layout.h b/headers/os/interface/Layout.h index 0253b4f6c4..552d8e9b32 100644 --- a/headers/os/interface/Layout.h +++ b/headers/os/interface/Layout.h @@ -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); diff --git a/headers/os/interface/SplitView.h b/headers/os/interface/SplitView.h index 1f1aba69de..f8a74c536f 100644 --- a/headers/os/interface/SplitView.h +++ b/headers/os/interface/SplitView.h @@ -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, diff --git a/headers/os/interface/TwoDimensionalLayout.h b/headers/os/interface/TwoDimensionalLayout.h index 468b5588b0..3b340b69c1 100644 --- a/headers/os/interface/TwoDimensionalLayout.h +++ b/headers/os/interface/TwoDimensionalLayout.h @@ -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];