]> Creatis software - creaImageIO.git/commitdiff
*** empty log message *** v0.2.0
authorguigues <guigues>
Tue, 28 Oct 2008 13:53:47 +0000 (13:53 +0000)
committerguigues <guigues>
Tue, 28 Oct 2008 13:53:47 +0000 (13:53 +0000)
src/creaImageIOWxGimmick.cpp

index 3e744982e179fec219f04c1b232bd2090b9310f1..3ad5e81280ede7cdd930ffcaab3ae209e648a723 100644 (file)
@@ -932,7 +932,8 @@ namespace creaImageIO
     wxBusyCursor busy;
     //    std::cout << "WxGimmick : Reading config"<<std::endl;
 
-    //    std::cout << "==> Loading collections from '"<<mDatabaseListFile
+    //    std::cout <<     
+    creaMessage("Gimmick!",1,"Gimmick! : ==> Loading collections from '"<<mDatabaseListFile<<"'"<<std::endl);
     //       <<"'"<<std::endl;
 
     std::ifstream s;
@@ -969,7 +970,7 @@ namespace creaImageIO
              }
            else 
              {
-               //          std::cout << "    ... ERROR !"<<std::endl;
+               creaMessage("Gimmick!",1,"           ==> ERROR opening collection '"<<tokens[0]<<"'"<<std::endl);
                delete db;
              }
          }
@@ -977,7 +978,7 @@ namespace creaImageIO
        }
        else 
        {
-               std::cout << "ERROR opening "<<mDatabaseListFile<<std::endl;
+         creaMessage("Gimmick!",1,"           ==> File does not exist. It will be created on exit (if you already ran Gimmick! and exited normally, this is not normal. Send a bug report).");
        }