summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index a8bbc8b..9099844 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -259,7 +259,11 @@ public:
/** put a string into the environment
of the form var=value */
static bool PutEnv(const char* value);
-
+
+ ///! Get permissions of the file
+ static bool GetPermissions(const char* file, mode_t& mode);
+ static bool SetPermissions(const char* file, mode_t mode);
+
private:
static bool s_ForceUnixPaths;
static bool s_RunCommandHideConsole;