#ifndef RESOURCES_H_INCLUDED #define RESOURCES_H_INCLUDED #include #include #include #include using namespace std; class GlobalResources { public: static void loadResourceFiles(); static void unloadResourceFiles(); //language dependent global variables: need to be initialized by CustomLocale on program startup static wxChar fileNameSeparator; static const wxChar* floatingPointSeparator; static const wxChar* numberSeparator; //image resource objects static wxBitmap* bitmapLeftArrow; static wxBitmap* bitmapStartSync; static wxBitmap* bitmapRightArrow; static wxBitmap* bitmapDelete; static wxBitmap* bitmapEmail; static wxBitmap* bitmapAbout; static wxBitmap* bitmapWebsite; static wxBitmap* bitmapExit; static wxBitmap* bitmapSync; static wxBitmap* bitmapCompare; static wxBitmap* bitmapSyncDisabled; static wxBitmap* bitmapSwap; static wxBitmap* bitmapHelp; static wxBitmap* bitmapLeftOnly; static wxBitmap* bitmapLeftNewer; static wxBitmap* bitmapDifferent; static wxBitmap* bitmapRightNewer; static wxBitmap* bitmapRightOnly; static wxBitmap* bitmapLeftOnlyDeact; static wxBitmap* bitmapLeftNewerDeact; static wxBitmap* bitmapDifferentDeact; static wxBitmap* bitmapRightNewerDeact; static wxBitmap* bitmapRightOnlyDeact; static wxBitmap* bitmapEqual; static wxBitmap* bitmapEqualDeact; static wxBitmap* bitmapInclude; static wxBitmap* bitmapExclude; static wxBitmap* bitmapFilterOn; static wxBitmap* bitmapFilterOff; static wxBitmap* bitmapWarning; static wxBitmap* bitmapSmallUp; static wxBitmap* bitmapSmallDown; static wxBitmap* bitmapSave; static wxBitmap* bitmapFFS; static wxBitmap* bitmapDeleteFile; static wxBitmap* bitmapGPL; static wxBitmap* bitmapStatusPause; static wxBitmap* bitmapStatusError; static wxBitmap* bitmapStatusSuccess; static wxBitmap* bitmapStatusWarning; static wxBitmap* bitmapStatusScanning; static wxBitmap* bitmapStatusComparing; static wxBitmap* bitmapStatusSyncing; static wxBitmap* bitmapLogo; static wxBitmap* bitmapFinished; static wxAnimation* animationMoney; static wxAnimation* animationSync; private: //resource mapping static map bitmapResource; }; #endif // RESOURCES_H_INCLUDED