EmptyManager.h 735 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
#pragma once

#include <QGeoCoordinate>
#include <QVector>

#include "AreaInterface.h"
#include "GenericWaypointManager.h"
#include "QmlObjectListModel.h"
#include "Settings.h"

namespace WaypointManager {

typedef GenericWaypointManager<QGeoCoordinate, QVector, QmlObjectListModel,
                               Settings>
    ManagerBase;

//!
//! \brief The EmptyManager is a place holder and does noting.
class EmptyManager : public ManagerBase {
public:
  EmptyManager() = delete;
  EmptyManager(Settings &settings, AreaInterface &);

  void clear() override;
  virtual bool update() override;
  virtual bool next() override;
  virtual bool previous() override;
  virtual bool reset() override;
};

} // namespace WaypointManager