#pragma once #include #include #include namespace theo { class iff_t { /// /// swapchain_t is the only one who needs to call iff_t::flush... /// so its a friend class... flush is also private... /// friend class swapchain_t; public: struct section_t { coff::section_header_t header; std::vector< std::pair< std::uint32_t, coff::symbol_t > > symbols; }; explicit iff_t( coff::image_t *img ); std::vector< section_t > sections; private: /// /// flush changes from "sections" back to img... /// void flush(); coff::image_t *img; }; } // namespace theo