diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-18 12:53:28 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-18 12:53:28 +0000 |
commit | 179fc2e2e25d3e9bc7c198b1e9ea6651fc6de84a (patch) | |
tree | 592c774d3adf8e1d95c90a0a9f9cd680b829b867 /cosv/source/storage/ploc_dir.cxx | |
parent | 61218185e73408bfa2bc6b88337f18bfd52d4364 (diff) |
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'cosv/source/storage/ploc_dir.cxx')
-rw-r--r-- | cosv/source/storage/ploc_dir.cxx | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/cosv/source/storage/ploc_dir.cxx b/cosv/source/storage/ploc_dir.cxx index cf41a2746243..37d0ba8b63a2 100644 --- a/cosv/source/storage/ploc_dir.cxx +++ b/cosv/source/storage/ploc_dir.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ploc_dir.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: np $ $Date: 2002-11-01 12:18:53 $ + * last change: $Author: hr $ $Date: 2003-03-18 13:48:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -164,12 +164,19 @@ Directory::Check_Parent() const return ret; } +} // namespace ploc +} // namespace csv #ifdef WNT #include <direct.h> #include <io.h> +namespace csv +{ +namespace ploc +{ + bool Directory::PhysicalCreate_Dir( const char * i_sStr ) const { @@ -252,11 +259,19 @@ Directory::GetContainedFiles( StringVector & o_rResult, } } +} // namespace ploc +} // namespace csv + + #elif defined(UNX) #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> -#include <unistd.h> + +namespace csv +{ +namespace ploc +{ bool Directory::PhysicalCreate_Dir( const char * i_sStr ) const @@ -354,11 +369,20 @@ Directory::GetContainedFiles( StringVector & o_rResult, } } +} // namespace ploc +} // namespace csv + + #else #error For using csv::ploc there has to be defined: WNT or UNX. #endif +namespace csv +{ +namespace ploc +{ + const Path & Directory::inq_MyPath() const { |