diff options
Diffstat (limited to 'linden/indra/llmessage/llmessagereader.cpp')
-rw-r--r-- | linden/indra/llmessage/llmessagereader.cpp | 35 |
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 | |||
3 | static BOOL sTimeDecodes = FALSE; | ||
4 | |||
5 | static F32 sTimeDecodesSpamThreshold = 0.05f; | ||
6 | |||
7 | //virtual | ||
8 | LLMessageReader::~LLMessageReader() | ||
9 | { | ||
10 | // even abstract base classes need a concrete destructor | ||
11 | } | ||
12 | |||
13 | //static | ||
14 | void LLMessageReader::setTimeDecodes(BOOL b) | ||
15 | { | ||
16 | sTimeDecodes = b; | ||
17 | } | ||
18 | |||
19 | //static | ||
20 | void LLMessageReader::setTimeDecodesSpamThreshold(F32 seconds) | ||
21 | { | ||
22 | sTimeDecodesSpamThreshold = seconds; | ||
23 | } | ||
24 | |||
25 | //static | ||
26 | BOOL LLMessageReader::getTimeDecodes() | ||
27 | { | ||
28 | return sTimeDecodes; | ||
29 | } | ||
30 | |||
31 | //static | ||
32 | F32 LLMessageReader::getTimeDecodesSpamThreshold() | ||
33 | { | ||
34 | return sTimeDecodesSpamThreshold; | ||
35 | } | ||