mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-18 21:55:55 +01:00
66 lines
1.5 KiB
C
66 lines
1.5 KiB
C
|
/*
|
||
|
* FileReaderFwd.h
|
||
|
* ---------------
|
||
|
* Purpose: Forward declaration for class FileReader.
|
||
|
* Notes : (currently none)
|
||
|
* Authors: OpenMPT Devs
|
||
|
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "openmpt/all/BuildSettings.hpp"
|
||
|
|
||
|
#include "mpt/base/namespace.hpp"
|
||
|
|
||
|
namespace mpt {
|
||
|
inline namespace MPT_INLINE_NS {
|
||
|
namespace IO {
|
||
|
|
||
|
class FileCursorTraitsMemory;
|
||
|
|
||
|
class FileCursorTraitsFileData;
|
||
|
|
||
|
class FileCursorFilenameTraitsNone;
|
||
|
|
||
|
template <typename Tpath>
|
||
|
class FileCursorFilenameTraits;
|
||
|
|
||
|
template <typename Ttraits, typename Tfilenametraits>
|
||
|
class FileCursor;
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
OPENMPT_NAMESPACE_BEGIN
|
||
|
|
||
|
namespace mpt {
|
||
|
|
||
|
} // namespace mpt
|
||
|
|
||
|
namespace detail {
|
||
|
|
||
|
template <typename Ttraits, typename Tfilenametraits>
|
||
|
using FileCursor = mpt::IO::FileCursor<Ttraits, Tfilenametraits>;
|
||
|
|
||
|
template <typename Ttraits, typename Tfilenametraits>
|
||
|
class FileReader;
|
||
|
|
||
|
} // namespace detail
|
||
|
|
||
|
namespace mpt {
|
||
|
|
||
|
class PathString;
|
||
|
|
||
|
} // namespace mpt
|
||
|
|
||
|
using FileCursor = detail::FileCursor<mpt::IO::FileCursorTraitsFileData, mpt::IO::FileCursorFilenameTraits<mpt::PathString>>;
|
||
|
using FileReader = detail::FileReader<mpt::IO::FileCursorTraitsFileData, mpt::IO::FileCursorFilenameTraits<mpt::PathString>>;
|
||
|
|
||
|
using MemoryFileCursor = detail::FileCursor<mpt::IO::FileCursorTraitsMemory, mpt::IO::FileCursorFilenameTraitsNone>;
|
||
|
using MemoryFileReader = detail::FileReader<mpt::IO::FileCursorTraitsMemory, mpt::IO::FileCursorFilenameTraitsNone>;
|
||
|
|
||
|
OPENMPT_NAMESPACE_END
|
||
|
|