blob: 4824480e32ed1a30ec23ac8374f2741ba48f518d (
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
|
#include "llmessagereader.h"
static BOOL sTimeDecodes = FALSE;
static F32 sTimeDecodesSpamThreshold = 0.05f;
//virtual
LLMessageReader::~LLMessageReader()
{
// even abstract base classes need a concrete destructor
}
//static
void LLMessageReader::setTimeDecodes(BOOL b)
{
sTimeDecodes = b;
}
//static
void LLMessageReader::setTimeDecodesSpamThreshold(F32 seconds)
{
sTimeDecodesSpamThreshold = seconds;
}
//static
BOOL LLMessageReader::getTimeDecodes()
{
return sTimeDecodes;
}
//static
F32 LLMessageReader::getTimeDecodesSpamThreshold()
{
return sTimeDecodesSpamThreshold;
}
|