summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtSwift.h')
-rw-r--r--Swift/QtUI/QtSwift.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Swift/QtUI/QtSwift.h b/Swift/QtUI/QtSwift.h
index 2ebc3d5..72343d8 100644
--- a/Swift/QtUI/QtSwift.h
+++ b/Swift/QtUI/QtSwift.h
@@ -7,6 +7,9 @@
#ifndef SWIFT_QtSwift_H
#define SWIFT_QtSwift_H
+#include <boost/program_options/variables_map.hpp>
+#include <boost/program_options/options_description.hpp>
+
#include "Swiften/Base/String.h"
#include "Swiften/EventLoop/Qt/QtEventLoop.h"
#include "QtLoginWindowFactory.h"
@@ -14,6 +17,8 @@
#include "QtChatWindowFactory.h"
#include "QtSettingsProvider.h"
+namespace po = boost::program_options;
+
class QSplitter;
namespace Swift {
@@ -33,7 +38,8 @@ namespace Swift {
class QtSwift : public QObject {
Q_OBJECT
public:
- QtSwift(bool netbookMode);
+ QtSwift(po::variables_map options);
+ static po::options_description getOptionsDescription();
~QtSwift();
private:
MainController *mainController_;