diff options
author | vng <viktor.govako@gmail.com> | 2013-01-28 03:18:48 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:49:23 +0300 |
commit | 6f1dcdd9ede0f0158bc41c964b7bdf5786555700 (patch) | |
tree | 71683ed90d83a4f06c860ec385e9f368d9b820fa /coding/file_name_utils.hpp | |
parent | 4b105bb8a61516512f840882b7049d1a97e70b8b (diff) |
Move file_name_utils into coding.
Diffstat (limited to 'coding/file_name_utils.hpp')
-rw-r--r-- | coding/file_name_utils.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/coding/file_name_utils.hpp b/coding/file_name_utils.hpp new file mode 100644 index 0000000000..8cc8b1e60c --- /dev/null +++ b/coding/file_name_utils.hpp @@ -0,0 +1,12 @@ +#pragma once + +#include "../std/string.hpp" + +namespace my +{ + /// Remove extension from file name. + void GetNameWithoutExt(string & name); + + /// Get file name from full path. + void GetNameFromFullPath(string & name); +} |