diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:10:11 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:10:11 +0200 |
commit | c0cdb2ad99a1e2a6ade5ce76c91177a79258e669 (patch) | |
tree | 4701a015385d9a6a5a4ba99a8f1f5d400fff26b1 /library/resources.h | |
parent | 3.13 (diff) | |
download | FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.gz FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.bz2 FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.zip |
3.14
Diffstat (limited to 'library/resources.h')
-rw-r--r-- | library/resources.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/resources.h b/library/resources.h index 776fe785..691d5a6b 100644 --- a/library/resources.h +++ b/library/resources.h @@ -16,23 +16,23 @@ class GlobalResources { public: - static const GlobalResources& getInstance(); + static const GlobalResources& instance(); - const wxBitmap& getImageByName(const wxString& imageName) const; + const wxBitmap& getImage(const wxString& imageName) const; //global image resource objects wxAnimation* animationMoney; wxAnimation* animationSync; wxIcon* programIcon; - void load() const; //loads bitmap resources on program startup: logical const! - private: + void load(); //loads bitmap resources on program startup + GlobalResources(); ~GlobalResources(); //resource mapping - mutable std::map<wxString, wxBitmap*> bitmapResource; + std::map<wxString, wxBitmap*> bitmapResource; }; #endif // RESOURCES_H_INCLUDED |