diff options
Diffstat (limited to 'WindowServer/WSMenu.h')
-rw-r--r-- | WindowServer/WSMenu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WindowServer/WSMenu.h b/WindowServer/WSMenu.h index 24a03587f0..bd15d02e59 100644 --- a/WindowServer/WSMenu.h +++ b/WindowServer/WSMenu.h @@ -23,6 +23,7 @@ public: WSMenuBar* menu_bar() { return m_menubar; } const WSMenuBar* menu_bar() const { return m_menubar; } + bool is_empty() const { return m_items.is_empty(); } int item_count() const { return m_items.size(); } WSMenuItem* item(int i) { return m_items[i].ptr(); } const WSMenuItem* item(int i) const { return m_items[i].ptr(); } |