mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
Ref T286, multi caches/setting utility functions to check other versions
This commit is contained in:
@@ -12,12 +12,13 @@
|
||||
#ifndef BLACKMISC_SIMULATION_DATA_MODELCACHES
|
||||
#define BLACKMISC_SIMULATION_DATA_MODELCACHES
|
||||
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/datacache.h"
|
||||
#include "blackmisc/simulation/aircraftmodelinterfaces.h"
|
||||
#include "blackmisc/simulation/aircraftmodellist.h"
|
||||
#include "blackmisc/simulation/simulatorinfo.h"
|
||||
#include "blackmisc/applicationinfo.h"
|
||||
#include "blackmisc/statusmessage.h"
|
||||
#include "blackmisc/datacache.h"
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QObject>
|
||||
@@ -170,6 +171,12 @@ namespace BlackMisc
|
||||
//! Get filename for simulator cache file
|
||||
virtual QString getFilename(const BlackMisc::Simulation::CSimulatorInfo &simulator) const = 0;
|
||||
|
||||
//! Has the other version the file?
|
||||
bool hasOtherVersionFile(const BlackMisc::CApplicationInfo &info, const BlackMisc::Simulation::CSimulatorInfo &simulator) const;
|
||||
|
||||
//! Simulators of given other versionwhich have a cache file
|
||||
BlackMisc::Simulation::CSimulatorInfo otherVersionSimulatorsWithFile(const BlackMisc::CApplicationInfo &info) const;
|
||||
|
||||
//! All file names
|
||||
virtual QStringList getAllFilenames() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user