summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-04-08 14:49:06 +0000
committerRüdiger Timm <rt@openoffice.org>2003-04-08 14:49:06 +0000
commit78e7ef85c6cad6ebedfef4029d88d7b5fea48dea (patch)
treed50900f4dd8bbac8c251b61c2dc9ea74beb5272d /sal
parent8d2123c2fbc7a80b03a6d33e78c195e3dc8f1417 (diff)
INTEGRATION: CWS sal02 (1.28.60); FILE MERGED
2003/03/20 12:38:12 tra 1.28.60.1: #88865#VolumeInfo: added support for new volume attribute flags
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/osl/file.hxx27
1 files changed, 25 insertions, 2 deletions
diff --git a/sal/inc/osl/file.hxx b/sal/inc/osl/file.hxx
index d5bc76ad1314..8d7e2816286b 100644
--- a/sal/inc/osl/file.hxx
+++ b/sal/inc/osl/file.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: file.hxx,v $
*
- * $Revision: 1.28 $
+ * $Revision: 1.29 $
*
- * last change: $Author: tra $ $Date: 2002-12-06 08:46:35 $
+ * last change: $Author: rt $ $Date: 2003-04-08 15:49:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -698,6 +698,29 @@ public:
return _aDevice;
}
+ /** Return whether the file system is case sensitive or
+ case insensitive
+
+ @return
+ true if the file system is case sensitive false otherwise
+ */
+ bool isCaseSensitiveFileSystem() const
+ {
+ return (_aInfo.uAttributes & osl_Volume_Attribute_Case_Sensitive);
+ }
+
+ /** Return whether the file system preserves the case of
+ file and directory names or not
+
+ @return
+ true if the file system preserves the case of file and
+ directory names false otherwise
+ */
+ bool isCasePreservingFileSystem() const
+ {
+ return (_aInfo.uAttributes & osl_Volume_Attribute_Case_Is_Preserved);
+ }
+
friend class Directory;
};