Program: crea
Module: $RCSfile: creaSystem.h,v $
Language: C++
- Date: $Date: 2009/09/30 15:53:19 $
- Version: $Revision: 1.7 $
+ Date: $Date: 2010/06/11 05:06:46 $
+ Version: $Revision: 1.12 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// We try for Visual 6..????
//#pragma warning( disable : 4786)
-
-
//-----------------------------------------------------------------------------
//This is needed when compiling in debug mode
#ifdef _MSC_VER
#if defined(_WIN32) && defined(CREA_BUILD_SHARED)
-//#include "WWW.h"
#ifdef CREA_EXPORT_SYMBOLS
#define CREA_EXPORT __declspec( dllexport )
#else
*/
//-----------------------------------------------------------------------------
-
-
-
//-----------------------------------------------------------------------------
// Version
#include <string.h>
}
//-----------------------------------------------------------------------------
-
-
-
//-----------------------------------------------------------------------------
/*
#ifdef _WIN32
#define UINT32_MAX (4294967295U)
#endif
-
-
//-----------------------------------------------------------------------------
{
/// 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 nomdll);
+ CREA_EXPORT static int GetAppPath(char *pname, size_t pathsize);
+ CREA_EXPORT static std::string GetDllAppPath(std::string &nomdll);
+ CREA_EXPORT static std::string GetDllAppPath(const char *nomdll);
+ CREA_EXPORT static std::string GetExecutablePath();
+ CREA_EXPORT static void createDirectory(const char* directorypath);
};
} // namespace crea