]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOImageFinder.h
*** empty log message ***
[creaImageIO.git] / src2 / creaImageIOImageFinder.h
index 8eba7032b7b7fd710fbd06e4245ab125c3c578fa..da3213bcabdc1dc0b93f65e7cba808fc9a2415b9 100644 (file)
@@ -8,10 +8,13 @@
 
 namespace creaImageIO
 {
-
+       /**
+       * \ingroup Model
+       */
 
   //=======================================================================
   /// 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)
+
   class ImageFinder
   {
   public:
@@ -21,7 +24,7 @@ namespace creaImageIO
     /// Dtor
     ~ImageFinder();
     ///====================================================================
-    
+    /*
     struct UpdateSummary
     {
       int scanned_dirs;
@@ -56,28 +59,32 @@ namespace creaImageIO
        cancelled_by_user(false)
       {}
     };
-      ///
+    */
+
+    ///
+    
+
     bool IsHandledFile( const std::string& filename);
-    bool AddFile( const std::string& filename,
-                 UpdateSummary& summary );
-    bool AddFiles( const std::vector<std::string>& filename,
-                  wxProgressDialog* progress, 
-                  UpdateSummary& summary);
+    bool AddFile( const std::string& filename );
+    //           UpdateSummary& summary );
+    bool AddFiles( const std::vector<std::string>& filename );
+    //            wxProgressDialog* progress, 
+    //            UpdateSummary& summary);
     bool AddDirectory( const std::string& directory, 
-                      bool recurse,
-                      wxProgressDialog* progress, 
-                      UpdateSummary& summary
-                      );
+                      bool recurse );
+    //                wxProgressDialog* progress, 
+    //                UpdateSummary& summary
+    //                );
 
     void ParseDirectory( const std::string& directory, 
                         std::vector<std::string> &Filenames,
-                        bool recurse,
-                        wxProgressDialog* progress, 
-                        UpdateSummary& summary);
+                        bool recurse );
+    //                  wxProgressDialog* progress, 
+    //                  UpdateSummary& summary);
   private:
     TreeHandler* mTreeHandler;
     ImageReader mReader;
-   wxStopWatch msw[10];
+    //   wxStopWatch msw[10];
 
   };
   // EO class ImageFinder