diff options
Diffstat (limited to 'Slimber/CLI')
-rw-r--r-- | Slimber/CLI/DummyMenulet.cpp | 9 | ||||
-rw-r--r-- | Slimber/CLI/DummyMenulet.h | 42 | ||||
-rw-r--r-- | Slimber/CLI/SConscript | 6 | ||||
-rw-r--r-- | Slimber/CLI/main.cpp | 23 |
4 files changed, 40 insertions, 40 deletions
diff --git a/Slimber/CLI/DummyMenulet.cpp b/Slimber/CLI/DummyMenulet.cpp index 8bef0bb..78c6ddf 100644 --- a/Slimber/CLI/DummyMenulet.cpp +++ b/Slimber/CLI/DummyMenulet.cpp @@ -1,8 +1,7 @@ /* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2010-2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ -#include "Slimber/CLI/DummyMenulet.h" - +#include <Slimber/CLI/DummyMenulet.h> diff --git a/Slimber/CLI/DummyMenulet.h b/Slimber/CLI/DummyMenulet.h index 56cc9ce..4b37df6 100644 --- a/Slimber/CLI/DummyMenulet.h +++ b/Slimber/CLI/DummyMenulet.h @@ -1,36 +1,36 @@ /* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2010-2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ #pragma once -#include "Slimber/Menulet.h" +#include <Slimber/Menulet.h> class DummyMenulet : public Menulet { - public: - DummyMenulet() { - } + public: + DummyMenulet() { + } - void clear() { - } + void clear() { + } - void addItem(const std::string&, const std::string&) { - } + void addItem(const std::string&, const std::string&) { + } - void addAboutItem() { - } + void addAboutItem() { + } - void addRestartItem() { - } + void addRestartItem() { + } - void addExitItem() { - } + void addExitItem() { + } - void addSeparator() { - } + void addSeparator() { + } - void setIcon(const std::string&) { - } + void setIcon(const std::string&) { + } }; diff --git a/Slimber/CLI/SConscript b/Slimber/CLI/SConscript index e17996d..9dfa174 100644 --- a/Slimber/CLI/SConscript +++ b/Slimber/CLI/SConscript @@ -8,6 +8,6 @@ myenv.UseFlags(env["SWIFTEN_FLAGS"]) myenv.UseFlags(env["SWIFTEN_DEP_FLAGS"]) myenv.Program("slimber", [ - "main.cpp", - "DummyMenulet.cpp", - ]) + "main.cpp", + "DummyMenulet.cpp", + ]) diff --git a/Slimber/CLI/main.cpp b/Slimber/CLI/main.cpp index 3dd59a6..26f88d0 100644 --- a/Slimber/CLI/main.cpp +++ b/Slimber/CLI/main.cpp @@ -1,21 +1,22 @@ /* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2010-2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ #include <Swiften/EventLoop/SimpleEventLoop.h> -#include "Slimber/CLI/DummyMenulet.h" -#include "Slimber/MainController.h" + +#include <Slimber/CLI/DummyMenulet.h> +#include <Slimber/MainController.h> using namespace Swift; int main() { - SimpleEventLoop eventLoop; - - DummyMenulet menulet; - MainController controller(&menulet, &eventLoop); + SimpleEventLoop eventLoop; + + DummyMenulet menulet; + MainController controller(&menulet, &eventLoop); - eventLoop.run(); - return 0; + eventLoop.run(); + return 0; } |