Ref T710 Propagate libxplanemp CSL load error messages as swift validation errors.

This commit is contained in:
Mat Sutcliffe
2019-07-29 22:08:39 +01:00
parent 8f036b1442
commit eaa24952d1
5 changed files with 13 additions and 9 deletions

View File

@@ -70,8 +70,8 @@ namespace XSwiftBus
//! Reverse the actions of initialize().
void cleanup();
//! Load a collection of planes from the given directory and return true if successful
bool loadPlanesPackage(const std::string &path);
//! Load a collection of planes from the given directory and return error message if unsuccessful
std::string loadPlanesPackage(const std::string &path);
//! Set the ICAO code to use for aircraft without a model match
void setDefaultIcao(const std::string &defaultIcao);