00001 #ifndef __LOADER_H__ 00002 #define __LOADER_H__ 00003 00004 #include <string> 00005 #include "image.h" 00006 00007 namespace spectral 00008 { 00009 00011 class STM_EXPORT Loader 00012 { 00013 public: 00014 Loader() 00015 { 00016 } 00017 virtual ~Loader() 00018 { 00019 } 00020 00021 virtual spectral::Image *LoadImage(const std::string &) = 0; 00022 }; 00023 00024 } 00025 00026 #endif 00027