retdec
image_factory.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_LOADER_IMAGE_FACTORY_H
8 #define RETDEC_LOADER_IMAGE_FACTORY_H
9 
10 #include <memory>
11 #include <string>
12 
14 
15 namespace retdec {
16 namespace loader {
17 
18 std::unique_ptr<Image> createImage(
19  const std::string& filePath,
20  bool isRaw = false);
21 std::unique_ptr<Image> createImage(
22  const std::shared_ptr<retdec::fileformat::FileFormat>& fileFormat);
23 
24 } // namespace loader
25 } // namespace retdec
26 
27 #endif
Declaration of loadable image class.
Generic loader.
std::unique_ptr< Image > createImage(const std::string &filePath, bool isRaw=false)
Definition: image_factory.cpp:70
Definition: archive_wrapper.h:19