]> Creatis software - creaImageIO.git/blob - appli/gimmick/main.cxx
d90f0b8bcfa15f955261f571e2bef05c284c78d1
[creaImageIO.git] / appli / gimmick / main.cxx
1 #include <creaImageIOGimmick.h>
2 #include <creaMessageManager.h>
3
4 int main(int argc, char* argv[])
5 {
6   bool debug = false;
7   if(argc>1) 
8     {
9       debug = true;
10     }
11
12   creaImageIO::Gimmick g;
13   g.SetDebugMode(debug);
14
15   if (!g.Initialize()) return 1;
16   if (!g.Finalize()) return 1;
17   return 0;
18 }