Remove modules not compiled by this branch's release build
Lts/Common: drop the 17 submodules excluded from the RELEASE_BUILD branch of Lts/Common/CMakeLists.txt (CodeGen, LtsAppManager, LtsBotan, LtsCoordinate, LtsElevation, LtsLogin, LtsMultiMonitor, LtsPluginManager, LtsPrinting, LtsProjectionWorkstation, LtsScriptTimeline, LtsSession, LtsTimeline, LtsTimelineClassic, LtsVirtualKeyboard, LtsWidgets, TopicEditorBase). Only the 13 subdirectories actually built remain. TrainingAreaBase: drop sources of targets excluded by IF(NOT RELEASE_BUILD) / IF(BUILD_RTI) (svcTabClient, svcTabServer, svcTrainingAreaBase exe, RecordReplayPlugin customization) and the 7 plugin directories not added in the release path (AdlerJson, ApacheHlaJson, DebugJsonDir, HlaJson, Nmea, UAS, WlsTetra). Only tabTelegrams, svcTabCommon and the TetraJson plugin are compiled. Cross-checked: no kept compiled source includes headers from the removed modules (GuiPluginInterface - the only LtsWidgets consumer - is itself NOT RELEASE_BUILD-guarded).
This commit is contained in:
1 parent
eb4d067365
commit
855b0a6101
765 files changed
-128732
No files matched your search
@@ -1,140 +0,0 @@
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "lts_plugin_manager_export.h"
|
||||
|
||||
#include <LtsAppDescriptor/lts_app_descriptor.h>
|
||||
#include <LtsPluginManager/lts_plugin_loader.h>
|
||||
#include <ProjectConfig/project_defines.h>
|
||||
#include <QtCore/QFlags>
|
||||
#include <QtCore/QMap>
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QString>
|
||||
#include <QtCore/QVector>
|
||||
|
||||
namespace NGL
|
||||
{
|
||||
class INGLLogger;
|
||||
}
|
||||
|
||||
namespace DataPluginBase
|
||||
{
|
||||
class Plugin;
|
||||
}
|
||||
|
||||
namespace GuiPluginBase
|
||||
{
|
||||
class Plugin;
|
||||
}
|
||||
|
||||
namespace ProjectPlugin
|
||||
{
|
||||
class Plugin;
|
||||
}
|
||||
|
||||
namespace LtsSession
|
||||
{
|
||||
class LtsSession;
|
||||
class LtsSessionManager;
|
||||
struct DdsConnectionParams;
|
||||
} // namespace LtsSession
|
||||
|
||||
namespace DeveloperTools
|
||||
{
|
||||
class DevDialog;
|
||||
}
|
||||
|
||||
namespace LtsPluginManager
|
||||
{
|
||||
struct AppPluginInstance
|
||||
{
|
||||
PluginInstance pluginInstance;
|
||||
|
||||
QFlags<LtsAppDescriptor::PluginInfo::Flag> m_flags;
|
||||
QStringList m_options;
|
||||
QString m_appName;
|
||||
LtsAppDescriptor::App m_appId = LtsAppDescriptor::App::Login;
|
||||
};
|
||||
|
||||
class LTSPLUGINMANAGER_EXPORT LtsPluginManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
LtsPluginManager();
|
||||
~LtsPluginManager();
|
||||
|
||||
bool startApp(const LtsAppDescriptor::AppDescription& app, bool headless,
|
||||
const LtsSession::DdsConnectionParams& connParams, const QString& workspaceId = QString(),
|
||||
bool hidden = false);
|
||||
LtsSession::LtsSession* getSession(IDL::PartitionType partitionType, int partitionId);
|
||||
|
||||
bool isInitialized() const
|
||||
{
|
||||
return m_initialized;
|
||||
}
|
||||
|
||||
const LtsAppDescriptor::AppDescription& appDescription() const
|
||||
{
|
||||
return m_app;
|
||||
}
|
||||
|
||||
QVector<LtsSession::LtsSession*> sessions() const;
|
||||
|
||||
Q_DECL_DEPRECATED void setMarkedForDeletion()
|
||||
{
|
||||
m_markedForDeletion = true;
|
||||
}
|
||||
|
||||
Q_DECL_DEPRECATED bool markedForDeletion() const
|
||||
{
|
||||
return m_markedForDeletion;
|
||||
}
|
||||
|
||||
const QString& description() const
|
||||
{
|
||||
return m_description;
|
||||
}
|
||||
|
||||
void setDescription(const QString& description)
|
||||
{
|
||||
m_description = description;
|
||||
}
|
||||
|
||||
static bool hasSituationMapInstance(const LtsAppDescriptor::AppDescription& appDescription,
|
||||
bool alsoTestFOrScriptApp = false);
|
||||
bool hasSituationMapInstance() const;
|
||||
void softQuit();
|
||||
void _softQuit();
|
||||
|
||||
LtsSession::LtsSessionManager* m_sessionManager;
|
||||
|
||||
private:
|
||||
NGL::INGLLogger& m_logger;
|
||||
friend class DeveloperTools::DevDialog;
|
||||
|
||||
LtsAppDescriptor::AppDescription m_app;
|
||||
bool m_initialized = false;
|
||||
bool m_markedForDeletion;
|
||||
QString m_description;
|
||||
|
||||
private slots:
|
||||
|
||||
void slotInitializationFinished()
|
||||
{
|
||||
m_initialized = true;
|
||||
}
|
||||
|
||||
signals:
|
||||
void signalQuit();
|
||||
void signalSoftQuit();
|
||||
void signalLogout();
|
||||
void signalInitializationFinished();
|
||||
void signalInitializationAborted();
|
||||
void signalStillAlive();
|
||||
void hideAllOtherBLWs(QObject* caller);
|
||||
void taskSwitch(QObject* caller);
|
||||
};
|
||||
|
||||
} // namespace LtsPluginManager
|
||||
Reference in new issue
Block a user