Commit 4f26aa4c authored by saubatn's avatar saubatn
Browse files

NEW : File type association with camitk-imp.exe on Windows for opening.

      Each launch of an instance of IMP register it for file opening.
      Standard volume image and mesh files type (in the share/testdata directory) are handled.
      See the ImpMainWindow constructor for registered file type.
      Note : file association only works on Windows.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@513 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 27c68622
...@@ -35,6 +35,8 @@ ...@@ -35,6 +35,8 @@
*/ */
// ------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------
#ifdef WIN32 // Do not compile this file if not on Windows
// ----- general includes -------------------------------------------------------------------------- // ----- general includes --------------------------------------------------------------------------
#include <windows.h> #include <windows.h>
#include <QtGui/QMessageBox> #include <QtGui/QMessageBox>
...@@ -327,3 +329,4 @@ void DocumentWindow::executeDdeCommand(const QString& command, const QString& pa ...@@ -327,3 +329,4 @@ void DocumentWindow::executeDdeCommand(const QString& command, const QString& pa
} }
} }
#endif // WIN32
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment