From 78e7ef85c6cad6ebedfef4029d88d7b5fea48dea Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 8 Apr 2003 14:49:06 +0000 Subject: 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 --- sal/inc/osl/file.hxx | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'sal') 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; }; -- cgit