summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Directory.hxx.in
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-06 15:12:02 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-06 15:12:02 (GMT)
commit70e6fe3f9b4db9a18bf5cc063893a1b838be17be (patch)
tree1b0435c7fd1eea10904a7c6ffa73bca8a44ffabd /Source/kwsys/Directory.hxx.in
parent174cad0994f126c61eb129773742a9d189f22021 (diff)
downloadCMake-70e6fe3f9b4db9a18bf5cc063893a1b838be17be.zip
CMake-70e6fe3f9b4db9a18bf5cc063893a1b838be17be.tar.gz
CMake-70e6fe3f9b4db9a18bf5cc063893a1b838be17be.tar.bz2
ENH: Redo implementation of itkDirectory to use kwsys (avoid duplicating code).
Diffstat (limited to 'Source/kwsys/Directory.hxx.in')
-rw-r--r--Source/kwsys/Directory.hxx.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/kwsys/Directory.hxx.in b/Source/kwsys/Directory.hxx.in
index afa6a45..0a927a4 100644
--- a/Source/kwsys/Directory.hxx.in
+++ b/Source/kwsys/Directory.hxx.in
@@ -45,13 +45,18 @@ public:
/**
* Return the number of files in the current directory.
*/
- unsigned long GetNumberOfFiles();
+ unsigned long GetNumberOfFiles() const;
/**
* Return the file at the given index, the indexing is 0 based
*/
- const char* GetFile(unsigned long);
-
+ const char* GetFile(unsigned long) const;
+
+ /**
+ * Return the path to Open'ed directory
+ */
+ const char* GetPath() const;
+
private:
// Private implementation details.
DirectoryInternals* Internal;