1 #ifndef __creaImageIOImageFinder_h_INCLUDED__
2 #define __creaImageIOImageFinder_h_INCLUDED__
4 #include <creaImageIOTreeHandler.h>
5 #include <creaImageIOImageReader.h>
7 #include <wx/progdlg.h>
15 //=======================================================================
16 /// Parses (recursively) a part of a filesystem to look for known images and load their attributes in order to add the images to a Tree (submission via a TreeHandler::AddBranch)
21 ///====================================================================
23 ImageFinder(TreeHandler* tree);
26 ///====================================================================
41 long update_structs_time;
42 long update_database_time;
44 bool cancelled_by_user;
56 update_structs_time(0),
57 update_database_time(0),
59 cancelled_by_user(false)
67 bool IsHandledFile( const std::string& filename);
68 bool AddFile( const std::string& filename );
69 // UpdateSummary& summary );
70 bool AddFiles( const std::vector<std::string>& filename );
71 // wxProgressDialog* progress,
72 // UpdateSummary& summary);
73 bool AddDirectory( const std::string& directory,
75 // wxProgressDialog* progress,
76 // UpdateSummary& summary
79 void ParseDirectory( const std::string& directory,
80 std::vector<std::string> &Filenames,
82 // wxProgressDialog* progress,
83 // UpdateSummary& summary);
85 TreeHandler* mTreeHandler;
87 // wxStopWatch msw[10];
90 // EO class ImageFinder
91 //=======================================================================
94 } // EO namespace creaImageIO