summaryrefslogtreecommitdiff
path: root/plugins/Quotes/EconomicRateInfo.h
blob: 73e269619cd9e9c8b14e8d92eda254095b11de0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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__