upload_log.cpp File Reference

Manage logfiles for uploading as feedback, e.g. for champaign-balancing. More...

#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>

Include dependency graph for upload_log.cpp:

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.


Detailed Description

Manage logfiles for uploading as feedback, e.g. for champaign-balancing.

Definition in file upload_log.cpp.


Define Documentation

#define GETTEXT_DOMAIN   "wesnoth"

Definition at line 22 of file upload_log.cpp.

#define TARGET_HOST   "stats.wesnoth.org"

Definition at line 44 of file upload_log.cpp.

Referenced by upload_logs().

#define TARGET_PORT   80

Definition at line 46 of file upload_log.cpp.

Referenced by upload_logs().

#define TARGET_URL   "/upload.cgi"

Definition at line 45 of file upload_log.cpp.

Referenced by upload_logs().


Function Documentation

static void send_string ( TCPsocket  sock,
const std::string &  str 
) [static]

Definition at line 72 of file upload_log.cpp.

Referenced by upload_logs().

static int upload_logs ( void *  _ti  )  [static]


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs