Add FBC padding + Perform() methods to GridView and GroupView.
We probably won't need these, but these additions are cheap.
This commit is contained in:
parent
e044d51aa8
commit
fceb7ee27e
@ -25,11 +25,27 @@ public:
|
||||
|
||||
static BArchivable* Instantiate(BMessage* from);
|
||||
|
||||
virtual status_t Perform(perform_code d, void* arg);
|
||||
|
||||
private:
|
||||
|
||||
// FBC padding
|
||||
virtual void _ReservedGridView1();
|
||||
virtual void _ReservedGridView2();
|
||||
virtual void _ReservedGridView3();
|
||||
virtual void _ReservedGridView4();
|
||||
virtual void _ReservedGridView5();
|
||||
virtual void _ReservedGridView6();
|
||||
virtual void _ReservedGridView7();
|
||||
virtual void _ReservedGridView8();
|
||||
virtual void _ReservedGridView9();
|
||||
virtual void _ReservedGridView10();
|
||||
|
||||
// forbidden methods
|
||||
BGridView(const BGridView&);
|
||||
void operator =(const BGridView&);
|
||||
|
||||
uint32 _reserved[2];
|
||||
};
|
||||
|
||||
|
||||
|
@ -26,11 +26,27 @@ public:
|
||||
|
||||
static BArchivable* Instantiate(BMessage* from);
|
||||
|
||||
virtual status_t Perform(perform_code d, void* arg);
|
||||
|
||||
private:
|
||||
|
||||
// FBC padding
|
||||
virtual void _ReservedGroupView1();
|
||||
virtual void _ReservedGroupView2();
|
||||
virtual void _ReservedGroupView3();
|
||||
virtual void _ReservedGroupView4();
|
||||
virtual void _ReservedGroupView5();
|
||||
virtual void _ReservedGroupView6();
|
||||
virtual void _ReservedGroupView7();
|
||||
virtual void _ReservedGroupView8();
|
||||
virtual void _ReservedGroupView9();
|
||||
virtual void _ReservedGroupView10();
|
||||
|
||||
// forbidden methods
|
||||
BGroupView(const BGroupView&);
|
||||
void operator =(const BGroupView&);
|
||||
|
||||
uint32 _reserved[2];
|
||||
};
|
||||
|
||||
|
||||
|
@ -62,3 +62,23 @@ BGridView::Instantiate(BMessage* from)
|
||||
return new BGridView(from);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BGridView::Perform(perform_code code, void* _data)
|
||||
{
|
||||
return BView::Perform(code, _data);
|
||||
}
|
||||
|
||||
|
||||
void BGridView::_ReservedGridView1() {}
|
||||
void BGridView::_ReservedGridView2() {}
|
||||
void BGridView::_ReservedGridView3() {}
|
||||
void BGridView::_ReservedGridView4() {}
|
||||
void BGridView::_ReservedGridView5() {}
|
||||
void BGridView::_ReservedGridView6() {}
|
||||
void BGridView::_ReservedGridView7() {}
|
||||
void BGridView::_ReservedGridView8() {}
|
||||
void BGridView::_ReservedGridView9() {}
|
||||
void BGridView::_ReservedGridView10() {}
|
||||
|
||||
|
@ -62,3 +62,23 @@ BGroupView::GroupLayout() const
|
||||
{
|
||||
return dynamic_cast<BGroupLayout*>(GetLayout());
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BGroupView::Perform(perform_code code, void* _data)
|
||||
{
|
||||
return BView::Perform(code, _data);
|
||||
}
|
||||
|
||||
|
||||
void BGroupView::_ReservedGroupView1() {}
|
||||
void BGroupView::_ReservedGroupView2() {}
|
||||
void BGroupView::_ReservedGroupView3() {}
|
||||
void BGroupView::_ReservedGroupView4() {}
|
||||
void BGroupView::_ReservedGroupView5() {}
|
||||
void BGroupView::_ReservedGroupView6() {}
|
||||
void BGroupView::_ReservedGroupView7() {}
|
||||
void BGroupView::_ReservedGroupView8() {}
|
||||
void BGroupView::_ReservedGroupView9() {}
|
||||
void BGroupView::_ReservedGroupView10() {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user