mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #85 , removed "blackmisc_cpp2xml"
This commit is contained in:
@@ -5,7 +5,6 @@ CONFIG += ordered
|
||||
|
||||
contains(BLACK_CONFIG, BlackMisc) {
|
||||
SUBDIRS += src/blackmisc
|
||||
# SUBDIRS += src/blackmisc_cpp2xml
|
||||
}
|
||||
|
||||
contains(BLACK_CONFIG, BlackSound) {
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
include (../../config.pri)
|
||||
include (../../build.pri)
|
||||
|
||||
QT += core dbus network
|
||||
|
||||
TARGET = blackmisc_cpp2xml
|
||||
TEMPLATE = lib
|
||||
|
||||
CONFIG += plugin
|
||||
CONFIG += blackmisc
|
||||
|
||||
DEPENDPATH += . ../../src/blackmisc
|
||||
INCLUDEPATH += . ../../src
|
||||
win32:!win32-g++*: PRE_TARGETDEPS += ../../lib/blackmisc.lib
|
||||
else: PRE_TARGETDEPS += ../../lib/libblackmisc.a
|
||||
|
||||
DESTDIR = ../../bin
|
||||
|
||||
HEADERS += *.h
|
||||
SOURCES += *.cpp
|
||||
|
||||
include (../../libraries.pri)
|
||||
@@ -1,15 +0,0 @@
|
||||
/* Copyright (C) 2013 VATSIM Community / contributors
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "blackmiscplugin.h"
|
||||
#include "blackmisc/blackmiscfreefunctions.h"
|
||||
|
||||
/*
|
||||
* Register all metatypes
|
||||
*/
|
||||
void BlackmiscPlugin::registerMetaTypes()
|
||||
{
|
||||
BlackMisc::registerMetadata();
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
/* Copyright (C) 2013 VATSIM Community / contributors
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef BLACKMISC_CPP2XML_H
|
||||
#define BLACKMISC_CPP2XML_H
|
||||
|
||||
#include <QDBusMetaType>
|
||||
#include <QMetaType>
|
||||
|
||||
/*!
|
||||
* Plugin to register all relevant blackmisc classes for QDBusCpp2XmlPlugin
|
||||
* This needs to be recompiled whenever a new DBus compliant class has been created.
|
||||
* Compile as "release", otherwise plugin will not work.
|
||||
*/
|
||||
class BlackmiscPlugin : public QObject, public QDBusCpp2XmlPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDBusCpp2XmlPlugin)
|
||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.DBus.Cpp2XmlPlugin")
|
||||
|
||||
public:
|
||||
/*!
|
||||
* \brief Register Metatypes
|
||||
*/
|
||||
virtual void registerMetaTypes();
|
||||
};
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user