0030339: Configuration - add project files for qmake
[occt.git] / src / OSD / OSD_Process.hxx
index c9f7e11..70707fd 100644 (file)
 #include <Standard_Handle.hxx>
 
 #include <OSD_Error.hxx>
-#include <Standard_Boolean.hxx>
-#include <Standard_Integer.hxx>
+#include <TCollection_AsciiString.hxx>
+
 class OSD_OSDError;
-class TCollection_AsciiString;
 class Quantity_Date;
 class OSD_Path;
 
@@ -39,8 +38,15 @@ class OSD_Process
 {
 public:
 
-  DEFINE_STANDARD_ALLOC
+  //! Return full path to the current process executable.
+  Standard_EXPORT static TCollection_AsciiString ExecutablePath();
+
+  //! Return full path to the folder containing current process executable with trailing separator.
+  Standard_EXPORT static TCollection_AsciiString ExecutableFolder();
 
+public:
+
+  DEFINE_STANDARD_ALLOC
   
   //! Initializes the object and prepare for a possible dump
   Standard_EXPORT OSD_Process();