]> Creatis software - crea.git/commitdiff
creaMaracasVisu
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Tue, 18 Aug 2009 01:45:01 +0000 (01:45 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Tue, 18 Aug 2009 01:45:01 +0000 (01:45 +0000)
cmake/CREAMacro_FindAndUseVTK.cmake
src/creaSystem.cxx
src/creaSystem.h

index db00d5ca2ff3e1f7b06b5df8314e3fc0f7e2117b..50dfe5b2862aab07e48db23e5f417795f9da19a0 100644 (file)
@@ -5,6 +5,7 @@ MACRO(CREA_FIND_AND_USE_VTK)
     FIND_PACKAGE(VTK)
     # If vtk found
     IF(VTK_FOUND)
+
       MESSAGE ( STATUS "=======================================")
       MESSAGE ( STATUS "Looking for VTK... found")
       MESSAGE ( STATUS "* Dir     = ${VTK_DIR}")
index 9f917e508b2b7b830347c22f9d6781e724f07747..65311afe1e6c9601276b7963c26fbf07065a5883 100644 (file)
@@ -43,7 +43,12 @@ namespace crea
      return isatty(fileno(stdin));
    }
 #endif
-
+std::string System::GetDllAppPath(std::string nom){
+       std::string path = ".";
+#ifdef WIN32
+#endif
+       return path;
+}
 int System::GetAppPath(char *pname, size_t pathsize)
    {
 #ifdef LINUX   
index 761e94227d95de742a94e3d605c889b29164b5d0..9ca8c93d775a3d89b2e4191d30c094e6a728b8aa 100644 (file)
@@ -3,8 +3,8 @@
   Program:   crea
   Module:    $RCSfile: creaSystem.h,v $
   Language:  C++
-  Date:      $Date: 2009/06/19 14:00:23 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2009/08/18 01:45:04 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -227,6 +227,7 @@ namespace crea
     /// returns true iff the program has a tty
     static int HasTTY(); 
        CREA_EXPORT static int GetAppPath(char *pname, size_t pathsize);
+       CREA_EXPORT static std::string GetDllAppPath(std::string nom);
   };
 
 } // namespace crea