#include <LocalAircraftCache.hxx>
Inherits QObject.
|
| enum | AircraftStatus { AircraftOk = 0
, AircraftUnmaintained
, AircraftNeedsNewerSimulator
, AircraftNeedsOlderSimulator
} |
| |
| enum | PackageStatus {
PackageNotInstalled = 0
, PackageInstalled
, PackageUpdateAvailable
, PackageQueued
,
PackageDownloading
, NotPackaged
, PackageInstallFailed
} |
| |
| enum class | ParseSetXMLResult { Ok
, Failed
, Retry
} |
| |
Definition at line 106 of file LocalAircraftCache.hxx.
◆ AircraftStatus
| Enumerator |
|---|
| AircraftOk | |
| AircraftUnmaintained | |
| AircraftNeedsNewerSimulator | |
| AircraftNeedsOlderSimulator | |
Definition at line 142 of file LocalAircraftCache.hxx.
◆ PackageStatus
| Enumerator |
|---|
| PackageNotInstalled | |
| PackageInstalled | |
| PackageUpdateAvailable | |
| PackageQueued | |
| PackageDownloading | |
| NotPackaged | |
| PackageInstallFailed | |
Definition at line 150 of file LocalAircraftCache.hxx.
◆ ParseSetXMLResult
◆ ~LocalAircraftCache()
| LocalAircraftCache::~LocalAircraftCache |
( |
| ) |
|
◆ addedItems
| void LocalAircraftCache::addedItems |
( |
int | count | ) |
|
|
signal |
◆ aircraftStatus()
◆ allItems()
◆ cleared
| void LocalAircraftCache::cleared |
( |
| ) |
|
|
signal |
◆ findIndexWithUri()
| int LocalAircraftCache::findIndexWithUri |
( |
QUrl | aircraftUri | ) |
const |
◆ findItemWithUri()
| AircraftItemPtr LocalAircraftCache::findItemWithUri |
( |
QUrl | aircraftUri | ) |
const |
◆ instance()
◆ isCandidateAircraftPath()
| bool LocalAircraftCache::isCandidateAircraftPath |
( |
QString | path | ) |
|
|
static |
@helper to determine if a particular path is likely to contain aircraft or not.
Checks for -set.xml files one level down in the tree.
Definition at line 764 of file LocalAircraftCache.cxx.
◆ itemAt()
◆ itemCount()
| int LocalAircraftCache::itemCount |
( |
| ) |
const |
◆ paths()
| QStringList LocalAircraftCache::paths |
( |
| ) |
const |
◆ primaryItemFor()
◆ ratingFromProperties()
| int LocalAircraftCache::ratingFromProperties |
( |
SGPropertyNode * | node, |
|
|
int | ratingIndex ) |
|
static |
◆ readAircraftProperties()
readAircraftProperties - helper to parse a -set.xml, but with the correct path setup (root, aircradft dirs, current aircraft dir)
- Parameters
-
| path | : full path to the -set.xml file |
| props | : property node to be populated |
- Returns
- status indication
Definition at line 798 of file LocalAircraftCache.cxx.
◆ reset()
| void LocalAircraftCache::reset |
( |
| ) |
|
|
static |
◆ scanCompleted
| void LocalAircraftCache::scanCompleted |
( |
| ) |
|
|
signal |
◆ scanDirs()
| void LocalAircraftCache::scanDirs |
( |
| ) |
|
◆ scanStarted
| void LocalAircraftCache::scanStarted |
( |
| ) |
|
|
signal |
◆ setPaths()
| void LocalAircraftCache::setPaths |
( |
QStringList | paths | ) |
|
The documentation for this class was generated from the following files: