diff options
author | Andrew <forkk@forkk.net> | 2013-04-22 17:15:18 -0500 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-04-22 17:15:18 -0500 |
commit | 1626fa013c86dc9f30254f57b3518211f6d0c65a (patch) | |
tree | 7f5a1b09916f55587c282ff7ffb51d792ceefd08 /libutil/include/pathutils.h | |
parent | ff3078b3a652316eef760386f665d152cbeb8db9 (diff) | |
download | MultiMC-1626fa013c86dc9f30254f57b3518211f6d0c65a.tar MultiMC-1626fa013c86dc9f30254f57b3518211f6d0c65a.tar.gz MultiMC-1626fa013c86dc9f30254f57b3518211f6d0c65a.tar.lz MultiMC-1626fa013c86dc9f30254f57b3518211f6d0c65a.tar.xz MultiMC-1626fa013c86dc9f30254f57b3518211f6d0c65a.zip |
Implement instance creation.
Diffstat (limited to 'libutil/include/pathutils.h')
-rw-r--r-- | libutil/include/pathutils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libutil/include/pathutils.h b/libutil/include/pathutils.h index be6c8917..c04330a9 100644 --- a/libutil/include/pathutils.h +++ b/libutil/include/pathutils.h @@ -25,4 +25,8 @@ LIBUTIL_EXPORT QString PathCombine(QString path1, QString path2, QString path3); LIBUTIL_EXPORT QString AbsolutePath(QString path); +LIBUTIL_EXPORT QString RemoveInvalidFilenameChars(QString string, QChar replaceWith = '-'); + +LIBUTIL_EXPORT QString DirNameFromString(QString string, QString inDir = "."); + #endif // PATHUTILS_H |