aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llmessagereader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmessage/llmessagereader.cpp')
-rw-r--r--linden/indra/llmessage/llmessagereader.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/linden/indra/llmessage/llmessagereader.cpp b/linden/indra/llmessage/llmessagereader.cpp
new file mode 100644
index 0000000..4824480
--- /dev/null
+++ b/linden/indra/llmessage/llmessagereader.cpp
@@ -0,0 +1,35 @@
1#include "llmessagereader.h"
2
3static BOOL sTimeDecodes = FALSE;
4
5static F32 sTimeDecodesSpamThreshold = 0.05f;
6
7//virtual
8LLMessageReader::~LLMessageReader()
9{
10 // even abstract base classes need a concrete destructor
11}
12
13//static
14void LLMessageReader::setTimeDecodes(BOOL b)
15{
16 sTimeDecodes = b;
17}
18
19//static
20void LLMessageReader::setTimeDecodesSpamThreshold(F32 seconds)
21{
22 sTimeDecodesSpamThreshold = seconds;
23}
24
25//static
26BOOL LLMessageReader::getTimeDecodes()
27{
28 return sTimeDecodes;
29}
30
31//static
32F32 LLMessageReader::getTimeDecodesSpamThreshold()
33{
34 return sTimeDecodesSpamThreshold;
35}