diff options
Diffstat (limited to 'Slimber/Menulet.h')
-rw-r--r-- | Slimber/Menulet.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Slimber/Menulet.h b/Slimber/Menulet.h index 631fbbd..1b8ed18 100644 --- a/Slimber/Menulet.h +++ b/Slimber/Menulet.h @@ -1,5 +1,7 @@ #pragma once +#include <boost/signal.hpp> + #include "Swiften/Base/String.h" class Menulet { @@ -9,7 +11,10 @@ class Menulet { virtual void clear() = 0; virtual void addItem(const Swift::String& name, const Swift::String& icon = Swift::String()) = 0; virtual void addAboutItem() = 0; + virtual void addRestartItem() = 0; virtual void addExitItem() = 0; virtual void addSeparator() = 0; virtual void setIcon(const Swift::String&) = 0; + + boost::signal<void ()> onRestartClicked; }; |