Files
pilotclient/samples/miscsim/samplesfsx.cpp
2024-11-11 15:11:40 +01:00

25 lines
952 B
C++

// SPDX-FileCopyrightText: Copyright (C) 2014 swift Project Community / Contributors
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
//! \file
//! \ingroup samplemiscsim
#include "samplesfsx.h"
#include "misc/simulation/fsx/simconnectutilities.h"
#include "misc/registermetadata.h"
#include <QTextStream>
using namespace swift::misc::simulation::fsx;
namespace swift::sample
{
void CSamplesFsx::samplesMisc(QTextStream &streamOut)
{
swift::misc::registerMetadata();
streamOut << CSimConnectUtilities::simConnectExceptionToString(CSimConnectUtilities::SIMCONNECT_EXCEPTION_ALREADY_SUBSCRIBED) << Qt::endl;
streamOut << CSimConnectUtilities::simConnectExceptionToString(CSimConnectUtilities::SIMCONNECT_EXCEPTION_ILLEGAL_OPERATION) << Qt::endl;
streamOut << CSimConnectUtilities::simConnectSurfaceTypeToString(CSimConnectUtilities::Bituminus) << Qt::endl;
}
} // namespace