Ref T365, samples for addon/fsx config files

This commit is contained in:
Klaus Basan
2018-09-20 22:34:34 +02:00
parent 61629231ff
commit 6c1a882231
5 changed files with 77 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
#include "samplesfscommon.h"
#include "samplesfsx.h"
#include "samplesp3d.h"
#include "samplesmodelmapping.h"
#include "samplesvpilotrules.h"
#include "blackcore/application.h"
@@ -43,6 +44,7 @@ int main(int argc, char *argv[])
streamOut << "2 .. FSX" << endl;
streamOut << "3 .. Mappings" << endl;
streamOut << "4 .. vPilot rules" << endl;
streamOut << "5 .. P3D cfg files" << endl;
streamOut << "x .. exit" << endl;
QString i = streamIn.readLine().toLower().trimmed();
@@ -64,6 +66,10 @@ int main(int argc, char *argv[])
{
BlackSample::CSamplesVPilotRules::samples(streamOut, streamIn);
}
else if (i.startsWith("5"))
{
BlackSample::CSamplesP3D::samplesMisc(streamOut);
}
else if (i.startsWith("x"))
{
streamOut << "terminating" << endl;