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