Vidalia 0.2.12
|
#include "CrashReporter.h"
#include "stringutil.h"
#include <QString>
#include <QStringList>
#include <QFileInfo>
#include <QDir>
#include <time.h>
Go to the source code of this file.
Namespaces | |
namespace | CrashReporter |
Defines | |
#define | PATH_SEPARATOR "/" |
#define | TEXT(x) (x) |
#define | TIME_TO_STRING(buf, buflen, t) snprintf(buf, buflen, "%ld", t) |
Typedefs | |
typedef int | CrashReporter::_file_handle_t |
Functions | |
static size_t | CrashReporter::append_string (_char_t *dst, const _char_t *src, size_t siz) |
static void | CrashReporter::write_keyval_to_file (_file_handle_t hFile, const char *key, const char *val) |
static bool | CrashReporter::write_extra_dump_info (const _char_t *path, const _char_t *id, time_t crashTime) |
bool | CrashReporter::minidump_callback (const _char_t *path, const _char_t *id, void *context, bool succeeded) |
bool | CrashReporter::install_exception_handler (const QString &dumpPath) |
void | CrashReporter::remove_exception_handler (void) |
bool | CrashReporter::set_crash_reporter (const QString &crashReporter) |
bool | CrashReporter::set_restart_options (const QString &executable, const QStringList &arguments) |
bool | CrashReporter::set_build_version (const QString &version) |
Variables | |
home mandrake rpm BUILD vidalia src vidalia CrashReporter cpp typedef char | CrashReporter::_char_t |
static google_breakpad::ExceptionHandler * | CrashReporter::exceptionHandler = 0 |
static bool | CrashReporter::showCrashReporter = false |
static _char_t | CrashReporter::crashReporterExecutable [MAX_PATH_LEN+1] = TEXT("") |
static char | CrashReporter::buildVersion [MAX_VERSION_LEN+1] = "" |
static char | CrashReporter::restartExecutable [MAX_CMD_LEN+1] = "" |
static char | CrashReporter::restartExecutableArgs [MAX_CMD_LEN+1] = "" |
static time_t | CrashReporter::startupTime = 0 |
#define PATH_SEPARATOR "/" |
Definition at line 84 of file CrashReporter.cpp.
Referenced by CrashReporter::minidump_callback(), and CrashReporter::write_extra_dump_info().
#define TEXT | ( | x | ) | (x) |
Definition at line 85 of file CrashReporter.cpp.
Referenced by CrashReporter::append_string(), CrashReporter::minidump_callback(), and CrashReporter::write_extra_dump_info().
#define TIME_TO_STRING | ( | buf, | |
buflen, | |||
t | |||
) | snprintf(buf, buflen, "%ld", t) |
Definition at line 86 of file CrashReporter.cpp.
Referenced by CrashReporter::write_extra_dump_info().