diff options
author | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
commit | b2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch) | |
tree | 3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/llmessage/llmessagereader.cpp | |
parent | Second Life viewer sources 1.14.0.1 (diff) | |
download | meta-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.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 | } | ||