32 lines
576 B
C++
Executable File
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
|