use a more explantory object name
This commit is contained in:
parent
fa225846af
commit
961fdc9de6
@ -55,7 +55,7 @@ class ThawList;
|
||||
|
||||
template<typename T> class MidiRingBuffer;
|
||||
|
||||
class LIBARDOUR_API MidiRegion : public Region, public Temporal::TimeThing
|
||||
class LIBARDOUR_API MidiRegion : public Region, public Temporal::TimeDomainSwapper
|
||||
{
|
||||
public:
|
||||
~MidiRegion();
|
||||
|
@ -1273,7 +1273,7 @@ class LIBTEMPORAL_API DomainSwapInformation {
|
||||
|
||||
void add (timecnt_t& t) { counts.push_back (&t); }
|
||||
void add (timepos_t& p) { positions.push_back (&p); }
|
||||
void add (TimeThing& tt) { time_things.push_back (&tt); }
|
||||
void add (TimeDomainSwapper& tt) { time_things.push_back (&tt); }
|
||||
void clear ();
|
||||
|
||||
private:
|
||||
@ -1281,7 +1281,7 @@ class LIBTEMPORAL_API DomainSwapInformation {
|
||||
|
||||
std::vector<timecnt_t*> counts;
|
||||
std::vector<timepos_t*> positions;
|
||||
std::vector<TimeThing*> time_things;
|
||||
std::vector<TimeDomainSwapper*> time_things;
|
||||
TimeDomain previous;
|
||||
|
||||
void undo ();
|
||||
|
@ -124,8 +124,8 @@ enum RoundMode {
|
||||
|
||||
extern void setup_enum_writer ();
|
||||
|
||||
struct LIBTEMPORAL_API TimeThing {
|
||||
virtual ~TimeThing() {}
|
||||
struct LIBTEMPORAL_API TimeDomainSwapper {
|
||||
virtual ~TimeDomainSwapper() {}
|
||||
virtual void swap_domain (Temporal::TimeDomain from, Temporal::TimeDomain to) = 0;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user