#ifndef RESOURCES_H_INCLUDED #define RESOURCES_H_INCLUDED #include #include #include #include using namespace std; class GlobalResources { public: GlobalResources(); ~GlobalResources(); void load(); static const wxChar fileNameSeparator; //language dependent global variables: need to be initialized by CustomLocale on program startup and language switch static const wxChar* decimalPoint; static const wxChar* thousandsSeparator; //image resource objects wxBitmap* bitmapArrowLeft; wxBitmap* bitmapArrowRight; wxBitmap* bitmapArrowLeftCr; wxBitmap* bitmapArrowRightCr; wxBitmap* bitmapArrowNone; wxBitmap* bitmapStartSync; wxBitmap* bitmapStartSyncDis; wxBitmap* bitmapDeleteLeft; wxBitmap* bitmapDeleteRight; wxBitmap* bitmapEmail; wxBitmap* bitmapAbout; wxBitmap* bitmapWebsite; wxBitmap* bitmapExit; wxBitmap* bitmapSync; wxBitmap* bitmapCompare; wxBitmap* bitmapSyncDisabled; wxBitmap* bitmapSwap; wxBitmap* bitmapHelp; wxBitmap* bitmapLeftOnly; wxBitmap* bitmapLeftNewer; wxBitmap* bitmapDifferent; wxBitmap* bitmapRightNewer; wxBitmap* bitmapRightOnly; wxBitmap* bitmapLeftOnlyDeact; wxBitmap* bitmapLeftNewerDeact; wxBitmap* bitmapDifferentDeact; wxBitmap* bitmapRightNewerDeact; wxBitmap* bitmapRightOnlyDeact; wxBitmap* bitmapEqual; wxBitmap* bitmapEqualDeact; wxBitmap* bitmapInclude; wxBitmap* bitmapExclude; wxBitmap* bitmapFilterOn; wxBitmap* bitmapFilterOff; wxBitmap* bitmapWarning; wxBitmap* bitmapSmallUp; wxBitmap* bitmapSmallDown; wxBitmap* bitmapSave; wxBitmap* bitmapFFS; wxBitmap* bitmapDeleteFile; wxBitmap* bitmapGPL; wxBitmap* bitmapStatusPause; wxBitmap* bitmapStatusError; wxBitmap* bitmapStatusSuccess; wxBitmap* bitmapStatusWarning; wxBitmap* bitmapStatusScanning; wxBitmap* bitmapStatusComparing; wxBitmap* bitmapStatusSyncing; wxBitmap* bitmapLogo; wxBitmap* bitmapFinished; wxBitmap* bitmapStatusEdge; wxBitmap* bitmapAddFolderPair; wxBitmap* bitmapRemoveFolderPair; wxBitmap* bitmapRemoveFolderPairD; wxBitmap* bitmapLink; wxAnimation* animationMoney; wxAnimation* animationSync; wxIcon* programIcon; private: //resource mapping map bitmapResource; }; extern GlobalResources globalResource; //loads bitmap resources on program startup #endif // RESOURCES_H_INCLUDED