#ifndef BITMAPLOADER_H #define BITMAPLOADER_H #include #include #include #include namespace wxCrafter { class ResourceLoader { protected: static std::map m_bitmaps; static std::map m_files; public: ResourceLoader(const wxString& skin = wxT("wxgui")); virtual ~ResourceLoader(); const wxBitmap& Bitmap(const wxString& name) const; wxString File(const wxString& name) const; /** * @brief return the path to a temporary image place holder */ wxFileName GetPlaceHolderImagePath() const; wxFileName GetPlaceHolder16ImagePath() const; }; } // namespace wxCrafter #endif // BITMAPLOADER_H