aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llmessagereader.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:54 -0500
committerJacek Antonelli2008-08-15 23:44:54 -0500
commitb2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch)
tree3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/llmessage/llmessagereader.cpp
parentSecond Life viewer sources 1.14.0.1 (diff)
downloadmeta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz
Second Life viewer sources 1.15.0.2
Diffstat (limited to '')
-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}