OpenRCT2/src/core/Path.hpp

18 lines
551 B
C++
Raw Normal View History

#pragma once
extern "C"
{
#include "../common.h"
}
namespace Path
{
utf8 * Append(utf8 * buffer, size_t bufferSize, const utf8 * src);
2016-01-30 00:18:28 +01:00
utf8 * GetDirectory(utf8 * buffer, size_t bufferSize, const utf8 * path);
const utf8 * GetFileName(const utf8 * path);
2016-01-29 01:06:02 +01:00
utf8 * GetFileNameWithoutExtension(utf8 * buffer, size_t bufferSize, const utf8 * path);
const utf8 * GetExtension(const utf8 * path);
2016-01-29 01:06:02 +01:00
utf8 * GetAbsolute(utf8 * buffer, size_t bufferSize, const utf8 * relativePath);
bool Equals(const utf8 * a, const utf8 * b);
}