1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
4 #include <rtl/ustring.hxx>
15 #ifndef L10NTOOLS_FILE_HXX
16 #define L10NTOOLS_FILE_HXX
17 #include <l10ntools/file.hxx>
25 rtl::OUString sDirectoryName
;
26 rtl::OUString sFullName
;
28 std::vector
<Directory
> aDirVec
;
29 std::vector
<File
> aFileVec
;
32 std::vector
<Directory
> getSubDirectories() { return aDirVec
; }
33 std::vector
<File
> getFiles() { return aFileVec
; }
35 void readDirectory( const rtl::OUString
& sFullpath
);
36 void scanSubDir( int nLevels
= 0 );
38 rtl::OUString
getDirectoryName() { return sDirectoryName
; }
39 rtl::OUString
getFullName() { return sFullName
; }
44 Directory( const rtl::OUString sFullPath
, const rtl::OUString sEntry
) ;
46 static bool lessDir ( const Directory
& rKey1
, const Directory
& rKey2
) ;
51 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */