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
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
/// 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