#ifndef ICONS_H_B95159A6 #define ICONS_H_B95159A6 #include <wx/wxprec.h> #ifndef WX_PRECOMP #include <wx/wx.h> #endif #include <map> #include <string> #include <tuple> class IconCache { public: const wxBitmap* GetIcon(const std::string& filename, wxSize size); private: std::map<std::tuple<std::string, int, int>, wxBitmap> icons_; }; void SetTheIconCache(IconCache* instance); IconCache& GetTheIconCache(); #endif /* end of include guard: ICONS_H_B95159A6 */