Sometimes its the little things..
[qzeecontrol] / main.cpp
index fdfa1d1..7296149 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -1,13 +1,34 @@
+/*
+ *  Copyright 2012 Ruediger Gad
+ *
+ *  This file is part of QZeeControl.
+ *
+ *  QZeeControl is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation, either version 3 of the License, or
+ *  (at your option) any later version.
+ *
+ *  QZeeControl is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with QZeeControl.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include <QtGui/QApplication>
 #include <QtDeclarative>
 #include "qmlapplicationviewer.h"
 #include "btconnector.h"
+#include "xtstadapter.h"
 
 Q_DECL_EXPORT int main(int argc, char *argv[])
 {
     QScopedPointer<QApplication> app(createApplication(argc, argv));
 
     qmlRegisterType<BtConnector>("qzeecontrol", 1, 0, "BtConnector");
+    qmlRegisterType<XtstAdapter>("qzeecontrol", 1, 0, "XtstAdapter");
 
     QmlApplicationViewer viewer;
     viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);