#include <moros.h>
Public Member Functions | |
moros () | |
~moros () | |
void | config () |
bool | comm_poll () |
routine to call a couple of times a second | |
void | config_handler (channel *ch) |
void | login_handler (channel *ch) |
void | data_handler (channel *ch) |
bool | update_games () |
void | ip_addr (std::string host) |
set the ip address of the central server | |
void | main_loop (Gtk::Main kit) |
main loop of the program | |
Public Attributes | |
std::string | config_file |
std::map < std::string, std::string > | users |
username to password map | |
std::string | user |
current logged on user | |
std::string | url |
url to current game | |
std::string | central |
address of the central server | |
communicate | comm |
channel * | cent_ch |
Channel to the central server. | |
list_games * | game_list |
cache | img_cache |
bool | login_central |
bool | login_chat |
bool | login_game |
std::string | current_game |
login * | login_win |
moros::moros | ( | ) |
moros::~moros | ( | ) |
void moros::config | ( | ) |
bool moros::comm_poll | ( | ) |
void moros::config_handler | ( | channel * | ch | ) |
void moros::login_handler | ( | channel * | ch | ) |
void moros::data_handler | ( | channel * | ch | ) |
bool moros::update_games | ( | ) |
void moros::main_loop | ( | Gtk::Main | kit | ) |
std::string moros::config_file |
std::map<std::string, std::string> moros::users |
username to password map
std::string moros::user |
current logged on user
std::string moros::url |
url to current game
std::string moros::central |
bool moros::login_central |
bool moros::login_chat |
bool moros::login_game |
std::string moros::current_game |