#include "global.hpp"
#include "config.hpp"
#include "construct_dialog.hpp"
#include "display.hpp"
#include "game_config.hpp"
#include "game_preferences.hpp"
#include "gamestatus.hpp"
#include "gettext.hpp"
#include "filesystem.hpp"
#include "serialization/parser.hpp"
#include "team.hpp"
#include "tstring.hpp"
#include "upload_log.hpp"
#include "wesconfig.h"
#include "wml_separators.hpp"
#include "SDL_net.h"
#include <vector>
#include <string>
Go to the source code of this file.
Defines | |
#define | GETTEXT_DOMAIN "wesnoth" |
#define | TARGET_HOST "stats.wesnoth.org" |
#define | TARGET_URL "/upload.cgi" |
#define | TARGET_PORT 80 |
Functions | |
static void | send_string (TCPsocket sock, const std::string &str) |
static int | upload_logs (void *_ti) |
void | upload_log_dialog::show_beg_dialog (display &disp) |
Ask user for permission to upload his game-stats. |
Definition in file upload_log.cpp.
#define GETTEXT_DOMAIN "wesnoth" |
Definition at line 22 of file upload_log.cpp.
#define TARGET_HOST "stats.wesnoth.org" |
#define TARGET_PORT 80 |
#define TARGET_URL "/upload.cgi" |
static void send_string | ( | TCPsocket | sock, | |
const std::string & | str | |||
) | [static] |
static int upload_logs | ( | void * | _ti | ) | [static] |
Definition at line 84 of file upload_log.cpp.
References delete_directory(), ENTIRE_FILE_PATH, get_files_in_dir(), get_upload_dir(), upload_log::thread_info::lastfile, read_file(), send_string(), upload_log::thread_info::shutdown, sock, TARGET_HOST, TARGET_PORT, TARGET_URL, and VERSION.
Referenced by upload_log::upload_log(), and upload_log::~upload_log().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |