// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #undef _HAS_EXCEPTIONS #define _HAS_EXCEPTIONS 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include typedef boost::posix_time::wtime_input_facet ttime_input_facet; typedef boost::posix_time::wtime_facet ttime_facet; #include "resource.h" #include "version.h" #include "CurrencyRateInfoDlg.h" #include "ModuleInfo.h" #include "DBUtils.h" #include "HTTPSession.h" #include "CurrencyConverter.h" #include "WinCtrlHelper.h" #include "ImportExport.h" #include "EconomicRateInfo.h" #include "SettingsDlg.h" #include "Locale.h" #include "ExtraImages.h" #include "IsWithinAccuracy.h" #include "ICurrencyRatesProvider.h" #include "CurrencyRatesProviderBase.h" #define CHART_IMPLEMENT #ifdef CHART_IMPLEMENT #include "CurrencyRateChart.h" #include "Chart.h" #endif CMStringW CreateFilePath(const CMStringW &rsName); enum EColourMode { colourDefault, colourUserDefined, }; enum EDelayMode { delayFromPopup, delayCustom, delayPermanent }; struct CMPlugin : public PLUGIN { // Main settings CMOption wszApiKey, wszDisplayFormat, wszStatusFormat, wszTendencyFormat; CMOption wRateType, wRateValue; // Log settings CMOption wLogMode; CMOption bIsOnlyChangedHistory, bIsOnlyChangedLogFile; CMOption wszHistoryFormat, wszLogFileName, wszLogFileFormat; // Popup settings CMOption modeColour, modeDelay; CMOption rgbBkg, rgbText; CMOption wDelay; CMOption wszPopupFormat; CMOption bUsePopups, bUseHistory, bShowPopupIfValueChanged; CMPlugin(); int Load() override; int Unload() override; };