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).
64 lines
1.6 KiB
C++
64 lines
1.6 KiB
C++
/**
|
|
* @RDE_HEADER@
|
|
* Events provided by LtsWidgets
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#include "lts_events.h"
|
|
|
|
namespace LtsWidgets
|
|
{
|
|
QEvent::Type LtsLinkEvent::eventTypeId()
|
|
{
|
|
static QEvent::Type sLinkEventId = QEvent::None;
|
|
if (sLinkEventId == QEvent::None)
|
|
sLinkEventId = static_cast<QEvent::Type>(QEvent::registerEventType());
|
|
return sLinkEventId;
|
|
}
|
|
|
|
QEvent::Type SaveImageEvent::saveImageEventId()
|
|
{
|
|
static QEvent::Type sSaveImageEventId = QEvent::None;
|
|
if (sSaveImageEventId == QEvent::None)
|
|
sSaveImageEventId = static_cast<QEvent::Type>(QEvent::registerEventType());
|
|
return sSaveImageEventId;
|
|
}
|
|
|
|
QEvent::Type SetMarkerEvent::setMarkerEventId()
|
|
{
|
|
static QEvent::Type sSetMarkerEventId = QEvent::None;
|
|
if (sSetMarkerEventId == QEvent::None)
|
|
sSetMarkerEventId = static_cast<QEvent::Type>(QEvent::registerEventType());
|
|
return sSetMarkerEventId;
|
|
}
|
|
|
|
QEvent::Type AddMarkerEvent::addMarkerEventId()
|
|
{
|
|
static QEvent::Type sAddMarkerEventId = QEvent::None;
|
|
if (sAddMarkerEventId == QEvent::None)
|
|
sAddMarkerEventId = static_cast<QEvent::Type>(QEvent::registerEventType());
|
|
return sAddMarkerEventId;
|
|
}
|
|
|
|
QEvent::Type AddSnapshotEvent::addSnapshotEventId()
|
|
{
|
|
static QEvent::Type eventId = QEvent::None;
|
|
if (eventId == QEvent::None)
|
|
eventId = static_cast<QEvent::Type>(QEvent::registerEventType());
|
|
return eventId;
|
|
}
|
|
|
|
QEvent::Type SaveSnapshotEvent::saveSnapshotEventId()
|
|
{
|
|
static QEvent::Type eventId = QEvent::None;
|
|
if (eventId == QEvent::None)
|
|
eventId = static_cast<QEvent::Type>(QEvent::registerEventType());
|
|
return eventId;
|
|
}
|
|
|
|
|
|
|
|
} // namespace LtsWidgets
|