From a70382b0e8bed265a1d314d9f6aae8f2dd48d20b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Nov 2012 18:45:54 +0000 Subject: ex-protos moved to the Plugins folder git-svn-id: http://svn.miranda-ng.org/main/trunk@2545 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/src/EconomicRateInfo.h | 59 +++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 plugins/Quotes/src/EconomicRateInfo.h (limited to 'plugins/Quotes/src/EconomicRateInfo.h') diff --git a/plugins/Quotes/src/EconomicRateInfo.h b/plugins/Quotes/src/EconomicRateInfo.h new file mode 100644 index 0000000000..73e269619c --- /dev/null +++ b/plugins/Quotes/src/EconomicRateInfo.h @@ -0,0 +1,59 @@ +#ifndef __87d726e0_26c6_485d_8016_1fba819b037d_EconomicRateInfo__ +#define __87d726e0_26c6_485d_8016_1fba819b037d_EconomicRateInfo__ + +#define QUOTES_PROTOCOL_NAME "Quotes"// protocol name + +#define QUOTES_MODULE_NAME QUOTES_PROTOCOL_NAME // db settings module path + +enum ERefreshRateType +{ + RRT_SECONDS = 0, + RRT_MINUTES = 1, + RRT_HOURS = 2 +}; + +#define DB_STR_ENABLE_LOG "EnableLog" +#define DB_STR_QUOTE_PROVIDER "QuoteProvider" +#define DB_STR_QUOTE_ID "QuoteID" +#define DB_STR_QUOTE_SYMBOL "QuoteSymbol" +#define DB_STR_QUOTE_DESCRIPTION "QuoteDescription" +#define DB_STR_QUOTE_PREV_VALUE "PreviousQuoteValue" +#define DB_STR_QUOTE_CURR_VALUE "CurrentQuoteValue" +#define DB_STR_QUOTE_FETCH_TIME "FetchTime" + + +enum ELogMode +{ + lmDisabled = 0x0000, + lmInternalHistory = 0x0001, + lmExternalFile = 0x0002, + lmPopup = 0x0004, +}; + +#define DB_STR_CONTACT_SPEC_SETTINGS "ContactSpecSettings" +#define DB_STR_QUOTE_LOG "Log" +#define DB_STR_QUOTE_LOG_FILE "LogFile" +#define DB_STR_QUOTE_FORMAT_LOG_FILE "LogFileFormat" +#define DB_STR_QUOTE_FORMAT_HISTORY "HistoryFormat" +#define DB_STR_QUOTE_LOG_FILE_CONDITION "AddToLogOnlyIfValueIsChanged" +#define DB_STR_QUOTE_HISTORY_CONDITION "AddToHistoryOnlyIfValueIsChanged" +#define DB_STR_QUOTE_EXTRA_IMAGE_SLOT "ExtraImageSlot" +#define DB_STR_QUOTE_FORMAT_POPUP "PopupFormat" +#define DB_STR_QUOTE_POPUP_CONDITION "ShowPopupOnlyIfValueIsChanged" + +#define DB_STR_QUOTE_POPUP_COLOUR_MODE "PopupColourMode" +#define DB_STR_QUOTE_POPUP_COLOUR_BK "PopupColourBk" +#define DB_STR_QUOTE_POPUP_COLOUR_TEXT "PopupColourText" +#define DB_STR_QUOTE_POPUP_DELAY_MODE "PopupDelayMode" +#define DB_STR_QUOTE_POPUP_DELAY_TIMEOUT "PopupDelayTimeout" +#define DB_STR_QUOTE_POPUP_HISTORY_FLAG "PopupHistoryFlag" + + +// #define DB_STR_NICK "Nick" +#define DB_STR_STATUS "Status" + +#define LIST_MODULE_NAME "CList" +#define CONTACT_LIST_NAME "MyHandle" +#define STATUS_MSG_NAME "StatusMsg" + +#endif //__87d726e0_26c6_485d_8016_1fba819b037d_EconomicRateInfo__ -- cgit v1.2.3