23 lines
541 B
C++
Executable File
23 lines
541 B
C++
Executable File
/**
|
|
* The ParticipantDonator class is an interface for returning a Participant to a given id.
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Hannes Baeuerle, SLSE, 2016-06-06
|
|
*/
|
|
#pragma once
|
|
|
|
namespace ParticipantManagement
|
|
{
|
|
namespace ParticipantHandling
|
|
{
|
|
class Participant;
|
|
class ParticipantDonator
|
|
{
|
|
public:
|
|
virtual Participant *participantById(int participantId) const = 0;
|
|
virtual bool isUnitType(int typeId) const = 0;
|
|
}; // class ParticipantDonator
|
|
} // namespace ParticipantHandling
|
|
} // namespace ParticipantManagement
|