#ifndef XNA_CONTENT_READER_HPP #define XNA_CONTENT_READER_HPP #include "../default.hpp" #include "../csharp/binary.hpp" namespace xna { class ContentReader : public BinaryReader{ public: static sptr Create(ContentManager* contentManager, Stream* input, String const& assetName); template sptr ReadAsset() { return nullptr; } private: ContentReader(ContentManager* contentManager, sptrconst& input, String const& assetName) : BinaryReader(input), _contentManager(contentManager), _assetName(assetName){} static sptr PrepareStream(sptr& input, String const* assetName, Int& graphicsProfile); Int ReadHeader(); private: ContentManager* _contentManager = nullptr; String _assetName; }; } #endif