36 lines
1009 B
C++
36 lines
1009 B
C++
#pragma once
|
|
|
|
#include "../../Renderive/Axis/Time_Axis_p.h"
|
|
#include "../../Renderive/plot/Plot_p.h"
|
|
#include "../../Renderive/plottable/Audio_Frequency_p.h"
|
|
#include "../../Renderive/plottable/Planisphere_p.h"
|
|
#include "../../Renderive/plottable/Waterfall_p.h"
|
|
|
|
namespace renderive {
|
|
struct Renderable_Private_Access {
|
|
static const Pmr_QImage_Buffer& cache(const Renderable& renderable) {
|
|
return renderable.cache_image;
|
|
}
|
|
};
|
|
struct Time_Axis_Private_Access {
|
|
static Time_Axis_Private* data(Time_Axis* axis) {
|
|
return axis->d();
|
|
}
|
|
};
|
|
struct Audio_Frequency_Private_Access {
|
|
static Audio_Frequency_Private* data(Audio_Frequency* audio) {
|
|
return audio->d();
|
|
}
|
|
};
|
|
struct Planisphere_Private_Access {
|
|
static Planisphere_Private* data(Planisphere* planisphere) {
|
|
return planisphere->d();
|
|
}
|
|
};
|
|
struct Waterfall_Private_Access {
|
|
static Waterfall_Private* data(Waterfall* waterfall) {
|
|
return waterfall->d();
|
|
}
|
|
};
|
|
} // namespace renderive
|