]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/ParametersQtDialog.h
merge async example
[cpPlugins.git] / lib / cpPlugins / Interface / ParametersQtDialog.h
index daf2517b6663d8818ac153934a5378cc7f87ea63..ea9f84de53ebc017dc137c0949b57c1becc04164 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef __CPPLUGINS__INTERFACE__PARAMETERSQTDIALOG__H__
 #define __CPPLUGINS__INTERFACE__PARAMETERSQTDIALOG__H__
 
+#include <cpPlugins/Interface/Config.h>
+
+#ifdef cpPlugins_Interface_QT4
+
 #include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
 #include <cpPlugins/Interface/Parameters.h>
 
@@ -11,7 +15,7 @@ namespace cpPlugins
   namespace Interface
   {
     bool cpPlugins_Interface_EXPORT ParametersQtDialog(
-      Parameters& parameters,
+      Parameters* parameters,
       const std::string& title,
       QWidget* parent = NULL
       );
@@ -20,6 +24,8 @@ namespace cpPlugins
 
 } // ecapseman
 
+#endif // cpPlugins_Interface_QT4
+
 #endif // __CPPLUGINS__INTERFACE__PARAMETERSQTDIALOG__H__
 
 // eof - $RCSfile$