diff options
| author | Vincent Richard <[email protected]> | 2004-12-22 09:52:32 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2004-12-22 09:52:32 +0000 |
| commit | 206b2dafcdd560663b30deac06e10081f397e2c0 (patch) | |
| tree | 8ceb7dcf5a888dbab27b79704d630b959fc852fd /src/utility/path.hpp | |
| parent | Added isParentOf() function. (diff) | |
| download | vmime-206b2dafcdd560663b30deac06e10081f397e2c0.tar.gz vmime-206b2dafcdd560663b30deac06e10081f397e2c0.zip | |
Added renameParent() function.
Diffstat (limited to 'src/utility/path.hpp')
| -rw-r--r-- | src/utility/path.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utility/path.hpp b/src/utility/path.hpp index 933794f1..5f377f7a 100644 --- a/src/utility/path.hpp +++ b/src/utility/path.hpp @@ -139,6 +139,13 @@ public: */ const bool isParentOf(const path& p) const; + /** Rename a parent component in the path. + * + * @param oldPath old parent path + * @param newPath new parent path + */ + void renameParent(const path& oldPath, const path& newPath); + private: list m_list; |
