Bundle libOpenMPT as a dynamic framework, which should be safe once again, now that there is only one version to bundle. Also, now it is using the versions of libvorbisfile and libmpg123 that are bundled with the player, instead of compiling minimp3 and stbvorbis. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
65 lines
1.5 KiB
C++
65 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
|
|
|