Pyrogenesis
13997
|
#include "precompiled.h"
#include "UserReport.h"
#include "lib/timer.h"
#include "lib/utf8.h"
#include "lib/external_libraries/curl.h"
#include "lib/external_libraries/libsdl.h"
#include "lib/external_libraries/zlib.h"
#include "lib/file/archive/stream.h"
#include "lib/sysdep/sysdep.h"
#include "ps/ConfigDB.h"
#include "ps/Filesystem.h"
#include "ps/Profiler2.h"
#include "ps/ThreadUtil.h"
Go to the source code of this file.
Classes | |
struct | CUserReport |
class | CUserReporterWorker |
Macros | |
#define | DEBUG_UPLOADS 0 |
Variables | |
static const int | REPORTER_VERSION = 1 |
Version number stored in config file when the user agrees to the reporting. More... | |
static const double | TIMER_CHECK_INTERVAL = 10.0 |
Time interval (seconds) at which the worker thread will check its reconnection timers. More... | |
static const double | RECONNECT_INVERVAL = 60.0 |
Seconds we should wait before reconnecting to the server after a failure. More... | |
CUserReporter | g_UserReporter |
#define DEBUG_UPLOADS 0 |
Definition at line 34 of file UserReport.cpp.
CUserReporter g_UserReporter |
Definition at line 73 of file UserReport.cpp.
|
static |
Seconds we should wait before reconnecting to the server after a failure.
Definition at line 71 of file UserReport.cpp.
|
static |
Version number stored in config file when the user agrees to the reporting.
Reporting will be disabled if the config value is missing or is less than this value. If we start reporting a lot more data, we should increase this value and get the user to re-confirm.
Definition at line 59 of file UserReport.cpp.
|
static |
Time interval (seconds) at which the worker thread will check its reconnection timers.
(This should be relatively high so the thread doesn't waste much time continually waking up.)
Definition at line 66 of file UserReport.cpp.