34 lines
932 B
C++
Executable File
34 lines
932 B
C++
Executable File
#pragma once
|
|
|
|
#include <LtsTimeline/track.h>
|
|
|
|
|
|
namespace Timeline
|
|
{
|
|
|
|
class ParticipantTrack : public LtsTimeline::Track
|
|
{
|
|
|
|
public:
|
|
ParticipantTrack(const QString &text, int participantId, int partyId, int equipmentNumber, int superiorId);
|
|
// ParticipantTrack(const ParticipantTrack &) = delete;
|
|
// ParticipantTrack &operator=(const ParticipantTrack &) = delete;
|
|
// ParticipantTrack(ParticipantTrack &&t) noexcept = default; // why-ever my compiler doesn't auto-create the move ctor
|
|
// virtual ~ParticipantTrack() = default;
|
|
|
|
const QString text() const override;
|
|
|
|
int participantId() const { return m_participantId; }
|
|
int partyId() const { return m_partyId; }
|
|
int equipmentNumber() const { return m_equipmentNumber; }
|
|
int superiorId() const { return m_superiorId; }
|
|
|
|
private:
|
|
int m_participantId { -1 };
|
|
int m_partyId { -1 };
|
|
int m_equipmentNumber { -1 };
|
|
int m_superiorId { -1 };
|
|
};
|
|
|
|
} // namespace Timeline
|