1 /* 2 * Copyright 2016 Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * John Scipione, jscipione@gmail.com 7 */ 8 #ifndef __MENU_ITEM_PRIVATE_H 9 #define __MENU_ITEM_PRIVATE_H 10 11 12 #include <MenuItem.h> 13 14 15 class BMenu; 16 17 namespace BPrivate { 18 19 class MenuItemPrivate { 20 public: 21 MenuItemPrivate(BMenuItem* menuItem); 22 23 void SetSubmenu(BMenu* submenu); 24 25 void Install(BWindow* window); 26 void Uninstall(); 27 28 private: 29 BMenuItem* fMenuItem; 30 }; 31 32 }; // namespace BPrivate 33 34 35 #endif // __MENU_ITEM_PRIVATE_H 36