]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOGimmickReaderDialog.h
No newline at end of file
[creaImageIO.git] / src2 / creaImageIOGimmickReaderDialog.h
index 26cb2ad53253e8f7f1b7c89532b3ec58a58f3d46..09a70f17d5885b692888246e2fad3aa7c3e0cea6 100644 (file)
@@ -1,9 +1,11 @@
 #ifndef __creaImageIOGimmickReaderDialog_h_INCLUDED__
 #define __creaImageIOGimmickReaderDialog_h_INCLUDED__
 
+#include "creaImageIOSystem.h"
 #include <vtkImageData.h>
 #include <vector>
 
+
 namespace creaImageIO
 {
   /**
@@ -12,14 +14,15 @@ namespace creaImageIO
    * returns true if the user clicked 'Ok', false if 'Cancel'
    *  and fills the vector of images
    */
-  bool __declspec(dllexport) GimmickReaderDialog(std::vector<vtkImageData*>& images,
-                          const std::string& title = "Select images",
-                          int posx = 0, int posy = 0,
-                          int sizex = 1200, int sizey = 800,
-                          int image_min_type = 2,
-                          int image_max_type = 3,
-                          int image_out_dim = 2,
-                          int nb_threads = 1);
+  bool CREAIMAGEIO_EXPORT GimmickReaderDialog
+  (std::vector<vtkImageData*>& images,
+   const std::string& title = "Select images",
+   int posx = 0, int posy = 0,
+   int sizex = 1200, int sizey = 800,
+   int image_min_type = 2,
+   int image_max_type = 3,
+   int image_out_dim = 2,
+   int nb_threads = 1);
   
 }