2 * Copyright 2001-2014 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _SEPARATOR_ITEM_H
6 #define _SEPARATOR_ITEM_H
14 class BSeparatorItem
: public BMenuItem
{
17 BSeparatorItem(BMessage
* data
);
18 virtual ~BSeparatorItem();
20 static BArchivable
* Instantiate(BMessage
* data
);
21 virtual status_t
Archive(BMessage
* data
,
22 bool deep
= true) const;
24 virtual void SetEnabled(bool enable
);
27 virtual void GetContentSize(float* _width
, float* _height
);
31 // FBC padding, reserved and forbidden
32 virtual void _ReservedSeparatorItem1();
33 virtual void _ReservedSeparatorItem2();
35 BSeparatorItem
& operator=(const BSeparatorItem
& other
);
41 #endif // _SEPARATOR_ITEM_H