mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
@@ -18,6 +18,9 @@
|
||||
#include "blackmisc/registermetadata.h"
|
||||
#include "blackmisc/pq/pq.h"
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackSample;
|
||||
|
||||
|
||||
26
samples/blackmisc/sampleblackmisc.h
Normal file
26
samples/blackmisc/sampleblackmisc.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/* Copyright (C) 2014
|
||||
* swift Project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef BLACKSAMPLE_BLACKMISC_H
|
||||
#define BLACKSAMPLE_BLACKMISC_H
|
||||
|
||||
// just a dummy header, documentation will go here
|
||||
|
||||
/*!
|
||||
* \defgroup sampleblackmisc Sample BlackMisc
|
||||
* \ingroup samples
|
||||
* \brief Sample demonstrating how use some of the BlackMisc classes
|
||||
* - Algorithms
|
||||
* - Containers
|
||||
* - Json
|
||||
* - Metadata
|
||||
* - Performance
|
||||
*/
|
||||
|
||||
#endif
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#include "samplesalgorithm.h"
|
||||
#include "blackmisc/algorithm.h"
|
||||
#include "blackmisc/sequence.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESALGORITHM_H
|
||||
#define BLACKSAMPLE_SAMPLESALGORITHM_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#include "sampleschangeobject.h"
|
||||
#include "blackmisc/pq/constants.h"
|
||||
#include "blackmisc/aviation/heading.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESCHANGEDATA_H
|
||||
#define BLACKSAMPLE_SAMPLESCHANGEDATA_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#include "samplescontainer.h"
|
||||
#include "blackmisc/blackmiscfreefunctions.h"
|
||||
#include "blackmisc/aviation/atcstationlist.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESCONTAINER_H
|
||||
#define BLACKSAMPLE_SAMPLESCONTAINER_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#include "samplesjson.h"
|
||||
#include "blackmisc/aviation/atcstationlist.h"
|
||||
#include "blackmisc/simulation/simulatedaircraft.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESJSON_H
|
||||
#define BLACKSAMPLE_SAMPLESJSON_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#include "samplesmetadata.h"
|
||||
#include "blackmisc/registermetadata.h"
|
||||
#include "blackmisc/metadatautils.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESMETADATA_H
|
||||
#define BLACKSAMPLE_SAMPLESMETADATA_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#include "samplesperformance.h"
|
||||
#include "blackmisc/aviation/aircraftsituationlist.h"
|
||||
#include "blackmisc/geo/coordinategeodetic.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmisc
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESPERFORMANCE_H
|
||||
#define BLACKSAMPLE_SAMPLESPERFORMANCE_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscdbus
|
||||
|
||||
#include "blackmisc/registermetadata.h"
|
||||
#include "servicetool.h"
|
||||
#include "blackmisc/dbusserver.h"
|
||||
|
||||
22
samples/blackmiscdbus/sampleblackmiscdbus.h
Normal file
22
samples/blackmiscdbus/sampleblackmiscdbus.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/* Copyright (C) 2014
|
||||
* swift Project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef BLACKSAMPLE_BLACKMISCDBUS_H
|
||||
#define BLACKSAMPLE_BLACKMISCDBUS_H
|
||||
|
||||
// just a dummy header, documentation will go here
|
||||
|
||||
/*!
|
||||
* \defgroup sampleblackmiscdbus Sample BlackMisc DBus
|
||||
* \ingroup samples
|
||||
* DBus tests, tests marshalling / unmarshalling of many value classes.
|
||||
* Forks two processes and sends data via DBus among them.
|
||||
*/
|
||||
|
||||
#endif
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscdbus
|
||||
|
||||
#include "servicetool.h"
|
||||
#include "testservice.h"
|
||||
#include "testserviceinterface.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscdbus
|
||||
|
||||
#ifndef BLACKSAMPLE_SERVICETOOL_H
|
||||
#define BLACKSAMPLE_SERVICETOOL_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscdbus
|
||||
|
||||
#include "testservice.h"
|
||||
#include "blackmisc/blackmiscfreefunctions.h"
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscdbus
|
||||
|
||||
#ifndef BLACKSAMPLE_TESTSERVICE_H
|
||||
#define BLACKSAMPLE_TESTSERVICE_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscdbus
|
||||
|
||||
#include "testserviceinterface.h"
|
||||
|
||||
namespace BlackSample
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscdbus
|
||||
|
||||
#ifndef BLACKSAMPLE_TESTSERVICE_INTERFACE_H
|
||||
#define BLACKSAMPLE_TESTSERVICE_INTERFACE_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscquantities
|
||||
|
||||
#include "samplesphysicalquantities.h"
|
||||
#include "samplesaviation.h"
|
||||
#include "samplesgeo.h"
|
||||
|
||||
24
samples/blackmiscquantities/sampleblackmiscquantities.h
Normal file
24
samples/blackmiscquantities/sampleblackmiscquantities.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/* Copyright (C) 2014
|
||||
* swift Project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef BLACKSAMPLE_BLACKMISCQUANTITIES_H
|
||||
#define BLACKSAMPLE_BLACKMISCQUANTITIES_H
|
||||
|
||||
// just a dummy header, documentation will go here
|
||||
|
||||
/*!
|
||||
* \defgroup sampleblackmiscquantities Sample BlackMisc Quantities
|
||||
* \ingroup samples
|
||||
* \brief Sample demonstrating how use some of the BlackMisc classes
|
||||
* - Aviation
|
||||
* - Geo
|
||||
* - PhysicalQuantities
|
||||
*/
|
||||
|
||||
#endif
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscquantities
|
||||
|
||||
#include "samplesaviation.h"
|
||||
#include "blackmisc/pq/constants.h"
|
||||
#include "blackmisc/aviation/heading.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscquantities
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESAVIATION_H
|
||||
#define BLACKSAMPLE_SAMPLESAVIATION_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscquantities
|
||||
|
||||
#include "samplesgeo.h"
|
||||
#include "blackmisc/geo/coordinategeodetic.h"
|
||||
#include "blackmisc/aviation/altitude.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscquantities
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESGEO_H
|
||||
#define BLACKSAMPLE_SAMPLESGEO_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscquantities
|
||||
|
||||
#include "samplesphysicalquantities.h"
|
||||
#include "blackmisc/variant.h"
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscquantities
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESPHYSICALQUANTITIES_H
|
||||
#define BLACKSAMPLE_SAMPLESPHYSICALQUANTITIES_H
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
#include <QDebug>
|
||||
#include <QTime>
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscsim
|
||||
|
||||
//! main
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
25
samples/blackmiscsim/sampleblackmiscsim.h
Normal file
25
samples/blackmiscsim/sampleblackmiscsim.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/* Copyright (C) 2014
|
||||
* swift Project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef BLACKSAMPLE_BLACKMISCSIM_H
|
||||
#define BLACKSAMPLE_BLACKMISCSIM_H
|
||||
|
||||
// just a dummy header, documentation will go here
|
||||
|
||||
/*!
|
||||
* \defgroup sampleblackmiscsim Sample BlackMisc Sim
|
||||
* \ingroup samples
|
||||
* \brief Sample demonstrating how use some of the BlackMisc classes
|
||||
* - FsCommon
|
||||
* - FSX
|
||||
* - Modelmapping
|
||||
* - VPilotRules
|
||||
*/
|
||||
|
||||
#endif
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscsim
|
||||
|
||||
#include "samplesfscommon.h"
|
||||
#include "blackmisc/sampleutils.h"
|
||||
#include "blackmisc/simulation/fscommon/aircraftcfgentrieslist.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscsim
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESFSCOMMON_H
|
||||
#define BLACKSAMPLE_SAMPLESFSCOMMON_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscsim
|
||||
|
||||
#include "samplesfsx.h"
|
||||
#include "blackmisc/simulation/fsx/simconnectutilities.h"
|
||||
#include "blackmisc/registermetadata.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscsim
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESFSX_H
|
||||
#define BLACKSAMPLE_SAMPLESFSX_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscsim
|
||||
|
||||
#include "samplesmodelmapping.h"
|
||||
#include "blackmisc/registermetadata.h"
|
||||
#include "blackmisc/stringutils.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscsim
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESMODELMAPPING_H
|
||||
#define BLACKSAMPLE_SAMPLESMODELMAPPING_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscsim
|
||||
|
||||
#include "samplesvpilotrules.h"
|
||||
#include "blackmisc/simulation/fscommon/vpilotrulesreader.h"
|
||||
#include "blackmisc/blackmiscfreefunctions.h"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleblackmiscsim
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESVPILOTRULES_H
|
||||
#define BLACKSAMPLE_SAMPLESVPILOTRULES_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup samplecliclient
|
||||
|
||||
#include "client.h"
|
||||
#include "blackcore/networkvatlib.h"
|
||||
#include <iostream>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup samplecliclient
|
||||
|
||||
#ifndef BLACKSAMPLE_CLICLIENT_CLIENT_H
|
||||
#define BLACKSAMPLE_CLICLIENT_CLIENT_H
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup samplecliclient
|
||||
|
||||
#include "blackcore/networkvatlib.h"
|
||||
#include "blackmisc/loghandler.h"
|
||||
#include "client.h"
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup samplecliclient
|
||||
|
||||
#include "reader.h"
|
||||
#include <QFile>
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup samplecliclient
|
||||
|
||||
#ifndef BLACKSAMPLE_CLICLIENT_LINEREADER_H
|
||||
#define BLACKSAMPLE_CLICLIENT_LINEREADER_H
|
||||
|
||||
21
samples/cliclient/samplecliclient.h
Normal file
21
samples/cliclient/samplecliclient.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/* Copyright (C) 2014
|
||||
* swift Project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef BLACKSAMPLE_HOTKEY_H
|
||||
#define BLACKSAMPLE_HOTKEY_H
|
||||
|
||||
// just a dummy header, documentation will go here
|
||||
|
||||
/*!
|
||||
* \defgroup samplecliclient Sample Cli Client
|
||||
* \ingroup samples
|
||||
* \brief Command line interface client
|
||||
*/
|
||||
|
||||
#endif
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup samplehotkey
|
||||
|
||||
#include "blackgui/components/settingshotkeycomponent.h"
|
||||
#include "blackmisc/registermetadata.h"
|
||||
#include <QApplication>
|
||||
|
||||
21
samples/hotkey/samplehotkey.h
Normal file
21
samples/hotkey/samplehotkey.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/* Copyright (C) 2014
|
||||
* swift Project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef BLACKSAMPLE_WEATHERDATA_H
|
||||
#define BLACKSAMPLE_WEATHERDATA_H
|
||||
|
||||
// just a dummy header, documentation will go here
|
||||
|
||||
/*!
|
||||
* \defgroup samplehotkey Sample Hotkey
|
||||
* \ingroup samples
|
||||
* \brief TBW
|
||||
*/
|
||||
|
||||
#endif
|
||||
@@ -13,6 +13,7 @@ CONFIG += blackmisc blackinput blackcore blackgui
|
||||
DEPENDPATH += . $$SourceRoot/src
|
||||
INCLUDEPATH += . $$SourceRoot/src
|
||||
|
||||
HEADERS += *.h
|
||||
SOURCES += *.cpp
|
||||
|
||||
DESTDIR = $$DestRoot/bin
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleweatherdata
|
||||
|
||||
#include "reader.h"
|
||||
#include "weatherdataprinter.h"
|
||||
#include "blackmisc/registermetadata.h"
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleweatherdata
|
||||
|
||||
#include "reader.h"
|
||||
#include <QFile>
|
||||
#include <QRegularExpression>
|
||||
|
||||
@@ -7,11 +7,12 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKSAMPLE_WEATHERDATA_LINEREADER_H
|
||||
#define BLACKSAMPLE_WEATHERDATA_LINEREADER_H
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleweatherdata
|
||||
|
||||
#include "blackmisc/geo/latitude.h"
|
||||
#include "blackmisc/geo/longitude.h"
|
||||
#include <QThread>
|
||||
|
||||
29
samples/weatherdata/sampleweatherdata.h
Normal file
29
samples/weatherdata/sampleweatherdata.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/* Copyright (C) 2014
|
||||
* swift Project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef BLACKSAMPLE_WEATHERDATA_H
|
||||
#define BLACKSAMPLE_WEATHERDATA_H
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleweatherdata
|
||||
|
||||
// just a dummy header, documentation will go here
|
||||
|
||||
/*!
|
||||
* \defgroup sampleweatherdata Sample Weather Data
|
||||
* \ingroup samples
|
||||
* \brief Sample demonstrating how to download and use weather data
|
||||
* through the IWeatherData plugins.
|
||||
*
|
||||
* After startup it will accept input by latitude and longitude
|
||||
* and print the current weather status received from all installed
|
||||
* and loaded weather plugins.
|
||||
*/
|
||||
|
||||
#endif
|
||||
@@ -2,6 +2,9 @@
|
||||
#include "blackmisc/logmessage.h"
|
||||
#include <QTextStream>
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleweatherdata
|
||||
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Weather;
|
||||
using namespace BlackMisc::Geo;
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
#ifndef BLACKSAMPLE_WEATERDATA_WEATHERDATAPRINTER_H
|
||||
#define BLACKSAMPLE_WEATERDATA_WEATHERDATAPRINTER_H
|
||||
|
||||
//! \file
|
||||
//! \ingroup sampleweatherdata
|
||||
|
||||
#include "blackcore/pluginmanagerweatherdata.h"
|
||||
#include "blackcore/weatherdata.h"
|
||||
#include "blackmisc/geo/latitude.h"
|
||||
|
||||
Reference in New Issue
Block a user