swift
webdataservicesms.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2019 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_CORE_WEBDATASERVICES_MATCHINGSCRIPT_H
7 #define SWIFT_CORE_WEBDATASERVICES_MATCHINGSCRIPT_H
8 
9 #include <QObject>
10 
11 #include "core/swiftcoreexport.h"
12 
13 namespace swift::core
14 {
20  class SWIFT_CORE_EXPORT MSWebServices : public QObject
21  {
22  Q_OBJECT
23 
24  public:
26  Q_INVOKABLE MSWebServices() {}
27 
30  Q_INVOKABLE int countAircraftIcaoCodesForDesignator(const QString &designator) const;
31  Q_INVOKABLE int countAirlineIcaoCodesForDesignator(const QString &designator) const;
33 
34  private:
36  static bool checkApp();
37  };
38 } // namespace swift::core
39 
40 #endif // SWIFT_CORE_WEBDATASERVICES_MATCHINGSCRIPT_H
Encapsulates reading data from web sources.
Q_INVOKABLE MSWebServices()
Ctor.
Backend services of the swift project, like dealing with the network or the simulators.
Definition: actionbind.cpp:7
#define SWIFT_CORE_EXPORT
Export a class or function from the library.