Make UEFI boot-platform build again
[haiku.git] / headers / os / interface / SeparatorItem.h
blob2c1af457edfdf722804a12d6813a2c8c582e0929
1 /*
2 * Copyright 2001-2014 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _SEPARATOR_ITEM_H
6 #define _SEPARATOR_ITEM_H
9 #include <MenuItem.h>
11 class BMessage;
14 class BSeparatorItem : public BMenuItem {
15 public:
16 BSeparatorItem();
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);
26 protected:
27 virtual void GetContentSize(float* _width, float* _height);
28 virtual void Draw();
30 private:
31 // FBC padding, reserved and forbidden
32 virtual void _ReservedSeparatorItem1();
33 virtual void _ReservedSeparatorItem2();
35 BSeparatorItem& operator=(const BSeparatorItem& other);
37 uint32 _reserved[1];
41 #endif // _SEPARATOR_ITEM_H