Committing patch from issue 1240: "Partial profile handling"
This commit is contained in:
@@ -22,19 +22,21 @@
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include "../rtengine/rtengine.h"
|
||||
#include "paramsedited.h"
|
||||
#include <glibmm.h>
|
||||
|
||||
class ProfileStore {
|
||||
|
||||
std::map<Glib::ustring,rtengine::procparams::ProcParams*> pparams;
|
||||
std::map<Glib::ustring, rtengine::procparams::PartialProfile*> partProfiles;
|
||||
void parseDir (const Glib::ustring& pdir);
|
||||
|
||||
public:
|
||||
|
||||
|
||||
~ProfileStore();
|
||||
void parseProfiles ();
|
||||
rtengine::procparams::ProcParams* getProfile (const Glib::ustring& profname);
|
||||
std::vector<Glib::ustring> getProfileNames ();
|
||||
rtengine::procparams::ProcParams* getDefaultProcParams (bool isRaw);
|
||||
rtengine::procparams::PartialProfile* getProfile (const Glib::ustring& profname);
|
||||
std::vector<Glib::ustring> getProfileNames ();
|
||||
rtengine::procparams::ProcParams* getDefaultProcParams (bool isRaw);
|
||||
};
|
||||
|
||||
extern ProfileStore profileStore;
|
||||
|
Reference in New Issue
Block a user