1 #ifndef _SEPARATOR_ITEM_H 2 #define _SEPARATOR_ITEM_H 3 4 #include <MenuItem.h> 5 6 class BMessage; 7 class BSeparatorItem : public BMenuItem { 8 public: 9 BSeparatorItem(); 10 BSeparatorItem(BMessage *data); 11 12 virtual ~BSeparatorItem(); 13 virtual status_t Archive(BMessage *data, bool deep = true) const; 14 15 static BArchivable *Instantiate(BMessage *data); 16 virtual void SetEnabled(bool state); 17 18 protected: 19 virtual void GetContentSize(float *width, float *height); 20 virtual void Draw(); 21 22 private: 23 virtual void _ReservedSeparatorItem1(); 24 virtual void _ReservedSeparatorItem2(); 25 26 BSeparatorItem &operator=(const BSeparatorItem &); 27 28 uint32 _reserved[1]; 29 }; 30 31 32 #endif /* _SEPARATOR_ITEM_H */ 33