diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-02 12:48:16 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-02 12:50:02 (GMT) |
commit | 04d48741240c61d75933d24084915a98d257d444 (patch) | |
tree | f8c23a2ff7e0d60174d520c6dbeb40007632dac7 /Slimber/Menulet.h | |
parent | 2a3da91e474f645fe8d83cb2809dcc4b9bfe6a32 (diff) | |
download | swift-contrib-04d48741240c61d75933d24084915a98d257d444.zip swift-contrib-04d48741240c61d75933d24084915a98d257d444.tar.bz2 |
Slimber: Add restart menu.
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; }; |