00001 00032 #include "linden_common.h" 00033 #include "llmessagereader.h" 00034 00035 static BOOL sTimeDecodes = FALSE; 00036 00037 static F32 sTimeDecodesSpamThreshold = 0.05f; 00038 00039 //virtual 00040 LLMessageReader::~LLMessageReader() 00041 { 00042 // even abstract base classes need a concrete destructor 00043 } 00044 00045 //static 00046 void LLMessageReader::setTimeDecodes(BOOL b) 00047 { 00048 sTimeDecodes = b; 00049 } 00050 00051 //static 00052 void LLMessageReader::setTimeDecodesSpamThreshold(F32 seconds) 00053 { 00054 sTimeDecodesSpamThreshold = seconds; 00055 } 00056 00057 //static 00058 BOOL LLMessageReader::getTimeDecodes() 00059 { 00060 return sTimeDecodes; 00061 } 00062 00063 //static 00064 F32 LLMessageReader::getTimeDecodesSpamThreshold() 00065 { 00066 return sTimeDecodesSpamThreshold; 00067 }