diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-25 01:37:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-25 01:37:20 +0100 |
| commit | 5229b795b9d7cafe174496fbc6bca8d62f4a3ff0 (patch) | |
| tree | 0031aed06535e7a190f12bde5fe0a6dd66e87f6a /src/lib/colour_conversion.h | |
| parent | 8041bb9729662176eeb8d78ce4dac9dfb6896557 (diff) | |
Remove user-configurable colour conversion presets.
Diffstat (limited to 'src/lib/colour_conversion.h')
| -rw-r--r-- | src/lib/colour_conversion.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/colour_conversion.h b/src/lib/colour_conversion.h index 9f07e0956..1b42dffb7 100644 --- a/src/lib/colour_conversion.h +++ b/src/lib/colour_conversion.h @@ -55,10 +55,17 @@ public: PresetColourConversion (std::string, dcp::ColourConversion); PresetColourConversion (cxml::NodePtr node, int version); - void as_xml (xmlpp::Node *) const; - ColourConversion conversion; std::string name; + + static std::vector<PresetColourConversion> all () { + return _presets; + } + + static void setup_colour_conversion_presets (); + +private: + static std::vector<PresetColourConversion> _presets; }; bool operator== (ColourConversion const &, ColourConversion const &); |
