1 /* -*- C++ -*- 2 * 3 * This file is part of RawTherapee. 4 * 5 * Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com> 6 * 7 * RawTherapee is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * RawTherapee is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with RawTherapee. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #ifndef _EXIFFILTERSETTINGS_ 21 #define _EXIFFILTERSETTINGS_ 22 23 #include <set> 24 #include <string> 25 #include <glibmm/date.h> 26 27 28 class ExifFilterSettings { 29 public: 30 std::set<std::string> filetypes; 31 std::set<std::string> cameras; 32 std::set<std::string> lenses; 33 std::set<std::string> expcomp; 34 double fnumberFrom; 35 double fnumberTo; 36 double shutterFrom; 37 double shutterTo; 38 double focalFrom; 39 double focalTo; 40 unsigned isoFrom; 41 unsigned isoTo; 42 Glib::Date dateFrom; 43 Glib::Date dateTo; 44 45 bool filterFNumber; 46 bool filterShutter; 47 bool filterFocalLen; 48 bool filterISO; 49 bool filterExpComp; 50 bool filterCamera; 51 bool filterLens; 52 bool filterFiletype; 53 bool filterDate; 54 55 ExifFilterSettings(); 56 void clear(); 57 }; 58 59 #endif 60 61