2007-12-20 21:14:21 +01:00
|
|
|
#ifndef INCLUDED_VFS_PATH
|
|
|
|
#define INCLUDED_VFS_PATH
|
|
|
|
|
|
|
|
struct VfsPathTraits;
|
|
|
|
typedef fs::basic_path<std::string, VfsPathTraits> VfsPath;
|
|
|
|
|
|
|
|
typedef std::vector<VfsPath> VfsPaths;
|
|
|
|
|
|
|
|
struct VfsPathTraits
|
|
|
|
{
|
|
|
|
typedef std::string internal_string_type;
|
|
|
|
typedef std::string external_string_type;
|
|
|
|
|
|
|
|
static external_string_type to_external(const VfsPath&, const internal_string_type& src)
|
|
|
|
{
|
|
|
|
return src;
|
|
|
|
}
|
|
|
|
|
|
|
|
static internal_string_type to_internal(const external_string_type& src)
|
|
|
|
{
|
|
|
|
return src;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2007-12-22 19:15:52 +01:00
|
|
|
extern bool vfs_path_IsDirectory(const VfsPath& pathname);
|
2007-12-20 21:14:21 +01:00
|
|
|
|
|
|
|
#endif // #ifndef INCLUDED_VFS_PATH
|