Make installed model info available from libxplanemp

This commit is contained in:
Roland Winklmeier
2015-06-11 01:17:13 +02:00
committed by Mathew Sutcliffe
parent 6944ace30e
commit 3de2779f80
2 changed files with 51 additions and 0 deletions

View File

@@ -346,6 +346,25 @@ const char * XPMPLoadCSLPackage(
*/
void XPMPLoadPlanesIfNecessary(void);
/*
* XPMPGetNumberOfInstalledModels
*
* This routine returns the number of found models.
*
*/
int XPMPGetNumberOfInstalledModels(void);
/*
* XPMPGetModelInfo
*
* Call this routine with an index to get all available info for this model. Valid
* index is between 0 and XPMPGetNumberOfInstalledModels(). If you pass an index
* out of this range, the out parameters are unchanged.
* Make sure the size of all char arrays is big enough.
*
*/
void XPMPGetModelInfo(int inIndex, const char **outModelName, const char **outIcao, const char **outAirline, const char **outLivery);
/*
* XPMPCreatePlane
*