Merge branch 'dev' into favorites-gui
This commit is contained in:
@@ -52,6 +52,17 @@
|
||||
// Special name for the Dynamic profile
|
||||
#define DEFPROFILE_DYNAMIC "Dynamic"
|
||||
|
||||
struct ExternalEditor {
|
||||
ExternalEditor();
|
||||
ExternalEditor(const Glib::ustring &name, const Glib::ustring &command, const Glib::ustring &icon_serialized);
|
||||
Glib::ustring name;
|
||||
Glib::ustring command;
|
||||
Glib::ustring icon_serialized;
|
||||
|
||||
bool operator==(const ExternalEditor & other) const;
|
||||
bool operator!=(const ExternalEditor & other) const;
|
||||
};
|
||||
|
||||
struct SaveFormat {
|
||||
SaveFormat(
|
||||
const Glib::ustring& _format,
|
||||
@@ -276,6 +287,8 @@ public:
|
||||
Glib::ustring gimpDir;
|
||||
Glib::ustring psDir;
|
||||
Glib::ustring customEditorProg;
|
||||
std::vector<ExternalEditor> externalEditors;
|
||||
int externalEditorIndex;
|
||||
Glib::ustring CPBPath; // Custom Profile Builder's path
|
||||
CPBKeyType CPBKeys; // Custom Profile Builder's key type
|
||||
int editorToSendTo;
|
||||
@@ -453,6 +466,17 @@ public:
|
||||
size_t maxRecentFolders; // max. number of recent folders stored in options file
|
||||
std::vector<Glib::ustring> recentFolders; // List containing all recent folders
|
||||
|
||||
enum SortMethod {
|
||||
SORT_BY_NAME,
|
||||
SORT_BY_DATE,
|
||||
SORT_BY_EXIF,
|
||||
SORT_BY_RANK,
|
||||
SORT_BY_LABEL,
|
||||
SORT_METHOD_COUNT,
|
||||
};
|
||||
SortMethod sortMethod; // remembers current state of file browser
|
||||
bool sortDescending;
|
||||
|
||||
|
||||
Options ();
|
||||
|
||||
|
Reference in New Issue
Block a user