mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 17:40:05 +00:00
Enable loading color palettes from embedded Qt resources
This commit is contained in:
parent
1f9392e9f6
commit
1d597eb120
8 changed files with 88 additions and 9 deletions
20
scwx-qt/source/scwx/qt/util/file.hpp
Normal file
20
scwx-qt/source/scwx/qt/util/file.hpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
|
||||
#include <istream>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
namespace qt
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
|
||||
std::unique_ptr<std::istream>
|
||||
OpenFile(const std::string& filename,
|
||||
std::ios_base::openmode mode = std::ios_base::in);
|
||||
|
||||
} // namespace util
|
||||
} // namespace qt
|
||||
} // namespace scwx
|
||||
Loading…
Add table
Add a link
Reference in a new issue