Solving issue 1946: "Custom Profile Builder needs more parameters"

The new parameter list is:
1. Image file
2. Default processing profile
3. Cache path (for logging files)
4. ForFlagging (bool; true if the procparams are created for an image being simply flagged - inTrash, colors, rank)
5. F Number
6. Exposure
7. Focal length (remains the same)
8. ISO
9. Lens
10. Camera make (new)
11. Camera model (new) ... those 2 new parameters was "camera" before.
This commit is contained in:
Hombre
2013-08-18 01:44:59 +02:00
parent e966478cc3
commit 3a06e94af2
7 changed files with 43 additions and 20 deletions

View File

@@ -85,8 +85,8 @@ class Thumbnail {
const rtengine::procparams::ProcParams& getProcParams ();
const rtengine::procparams::ProcParams& getProcParamsU (); // Unprotected version
// Use this to create params on demand for update
rtengine::procparams::ProcParams* createProcParamsForUpdate (bool returnParams, bool forceCPB);
// Use this to create params on demand for update ; if flaggingMode=true, the procparams is created for a file being flagged (inTrash, rank, colorLabel)
rtengine::procparams::ProcParams* createProcParamsForUpdate (bool returnParams, bool forceCPB, bool flaggingMode=false);
void setProcParams (const rtengine::procparams::ProcParams& pp, ParamsEdited* pe=NULL, int whoChangedIt=-1, bool updateCacheNow=true);
void clearProcParams (int whoClearedIt=-1);