mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
42 lines
965 B
C++
42 lines
965 B
C++
/* 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/. */
|
|
|
|
/*!
|
|
\file
|
|
*/
|
|
|
|
#ifndef BLACKGUI_AIRCRAFTLISTMODEL_H
|
|
#define BLACKGUI_AIRCRAFTLISTMODEL_H
|
|
|
|
#include "blackmisc/avaircraftlist.h"
|
|
#include "blackgui/listmodelbase.h"
|
|
#include <QAbstractItemModel>
|
|
#include <QDBusConnection>
|
|
|
|
namespace BlackGui
|
|
{
|
|
/*!
|
|
* \brief Aircraft list model
|
|
*/
|
|
class CAircraftListModel : public CListModelBase<BlackMisc::Aviation::CAircraft, BlackMisc::Aviation::CAircraftList>
|
|
{
|
|
|
|
public:
|
|
|
|
/*!
|
|
* \brief Constructor
|
|
* \param parent
|
|
*/
|
|
explicit CAircraftListModel(QObject *parent = nullptr);
|
|
|
|
/*!
|
|
* \brief Destructor
|
|
*/
|
|
virtual ~CAircraftListModel() {}
|
|
|
|
};
|
|
}
|
|
#endif // guard
|