diff --git a/samples/blackmiscgeo/main.cpp b/samples/blackmiscgeo/main.cpp deleted file mode 100644 index ff32a1aba..000000000 --- a/samples/blackmiscgeo/main.cpp +++ /dev/null @@ -1,20 +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 "samplesgeo.h" -#include - -/*! - * \brief Main entry - * \param argc - * \param argv - * \return - */ -int main(int argc, char *argv[]) -{ - QCoreApplication a(argc, argv); - BlackMiscTest::CSamplesGeo::samples(); - return a.exec(); -} diff --git a/samples/blackmiscgeo/sample_geo.pro b/samples/blackmiscgeo/sample_geo.pro deleted file mode 100644 index d701ca291..000000000 --- a/samples/blackmiscgeo/sample_geo.pro +++ /dev/null @@ -1,21 +0,0 @@ -include ($$SourceRoot/config.pri) -include ($$SourceRoot/build.pri) - -QT += core dbus network - -TARGET = sample_vector_geo -CONFIG += console -CONFIG -= app_bundle -CONFIG += blackmisc blackcore - -TEMPLATE = app - -DEPENDPATH += . $$SourceRoot/src -INCLUDEPATH += . $$SourceRoot/src - -SOURCES += *.cpp -HEADERS += *.h - -DESTDIR = $$BuildRoot/bin - -include ($$SourceRoot/libraries.pri) diff --git a/samples/blackmiscgeo/samplesgeo.cpp b/samples/blackmiscgeo/samplesgeo.cpp deleted file mode 100644 index fecba3773..000000000 --- a/samples/blackmiscgeo/samplesgeo.cpp +++ /dev/null @@ -1,42 +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 "samplesgeo.h" -#include "blackmisc/geo/latitude.h" -#include "blackmisc/geo/longitude.h" - -using namespace BlackMisc::Geo; -using namespace BlackMisc::PhysicalQuantities; - -namespace BlackMiscTest -{ - - /* - * Samples - */ - int CSamplesGeo::samples() - { - CLatitude lat1(20.0, CAngleUnit::deg()); - CLatitude lat2 = lat1; - CLatitude lat3 = lat1 - lat2; - - qDebug() << lat1 << lat2 << lat3; - qDebug() << (lat1 + lat2) << (lat1 - lat2); - - lat3 += lat1; - CLongitude lon1(33.0, CAngleUnit::deg()); - qDebug() << lon1 << lat3; - - // lat3 += lon1; // must not work - // lat3 = lon1; //must not work - // CGeoLongitude lonx(lat2); // must notwork - - // bye - qDebug() << "-----------------------------------------------"; - return 0; - - } - -} // namespace diff --git a/samples/blackmiscgeo/samplesgeo.h b/samples/blackmiscgeo/samplesgeo.h deleted file mode 100644 index 418030b63..000000000 --- a/samples/blackmiscgeo/samplesgeo.h +++ /dev/null @@ -1,26 +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 BLACKMISCTEST_SAMPLESGEO_H -#define BLACKMISCTEST_SAMPLESGEO_H - -namespace BlackMiscTest -{ - - //! Samples for geo - class CSamplesGeo - { - public: - //! Run the samples - static int samples(); - - private: - //! Constructor - CSamplesGeo(); - }; -} // namespace - - -#endif // guard diff --git a/swift.pro b/swift.pro index 06103dddb..94c527928 100644 --- a/swift.pro +++ b/swift.pro @@ -48,7 +48,6 @@ contains(BLACK_CONFIG, XPlane) { contains(BLACK_CONFIG, Samples) { SUBDIRS += samples/cli_client/sample_cli_client.pro - SUBDIRS += samples/blackmiscgeo/sample_geo.pro SUBDIRS += samples/blackmiscquantities/sample_quantities_aviation.pro SUBDIRS += samples/blackmiscdbus/sample_blackmisc_dbus.pro SUBDIRS += samples/blackmisc/sample_blackmisc.pro