Files
qt5-legatus-legacy/Lts/Plugins/ParticipantManagement/Gui/ParticipantInfo/participant_info_helper.h
T
2026-08-13 18:33:10 +02:00

32 lines
576 B
C++
Executable File

/**
* @RDE_HEADER@
* Helper for Player Info Dialogues
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Ehrlicher, SLSE, 2016-02-29
*/
#pragma once
#include <ParticipantManagement/ppm_dtc.h>
namespace ParticipantManagement
{
inline bool compareGear(const GearInformation &a,
const GearInformation &b)
{
if (a.gearId() != b.gearId())
return a.gearId() < b.gearId();
return a.chargeTypeId() < b.chargeTypeId();
}
inline bool compareSanMat(const SanitationMaterial &a,
const SanitationMaterial &b)
{
return a.materialId() < b.materialId();
}
} //namespace