Automatic ICC profile detection

see issue 938
This commit is contained in:
Oliver Duis
2011-08-30 07:12:07 +02:00
parent 76181828df
commit ec918d2f56
14 changed files with 113 additions and 110 deletions

View File

@@ -75,6 +75,9 @@ namespace rtengine {
virtual std::string getMake () const =0;
/** @return the model of the camera */
virtual std::string getModel () const =0;
std::string getCamera () const { return getMake() + " " + getModel(); }
/** @return the lens on the camera */
virtual std::string getLens () const =0;
/** Functions to convert between floating point and string representation of shutter and aperture */
@@ -309,8 +312,8 @@ namespace rtengine {
/**
* Initializes the RT engine
* @param s is a struct of basic settings */
int init (const Settings* s);
* @param s is a struct of basic settings, baseDir of RT */
int init (const Settings* s, Glib::ustring baseDir);
/** Cleanup the RT engine (static variables) */
void cleanup ();