#ifndef SIDEBARTOOLBOX_H_ #define SIDEBARTOOLBOX_H_ #include #include #include #include "Sidebar.h" #include "Tool.h" class SidebarToolbox : Sidebar { private: GtkWidget *widget; std::list buttonBoxes; std::set tools; // prevent shallow copy SidebarToolbox(const SidebarToolbox &w); const SidebarToolbox& operator=(const SidebarToolbox &w); public: SidebarToolbox(); virtual ~SidebarToolbox(); GtkWidget* getWidget() { return widget; } void update(); bool addTool(Tool *tool); bool removeTool(Tool *tool); }; #endif /*SIDEBARTOOLBOX_H_*/