addon_connect.hpp

Go to the documentation of this file.
00001 /* $Id: addon_connect.hpp 25610 2008-04-05 23:27:06Z mordante $ */
00002 /*
00003    copyright (c) 2008 by mark de wever <koraq@xs4all.nl>
00004    part of the battle for wesnoth project http://www.wesnoth.org/
00005 
00006    this program is free software; you can redistribute it and/or modify
00007    it under the terms of the gnu general public license version 2
00008    or at your option any later version.
00009    this program is distributed in the hope that it will be useful,
00010    but without any warranty.
00011 
00012    see the copying file for more details.
00013 */
00014 
00015 #ifndef __GUI_DIALOGS_ADDON_CONNECT_HPP_INCLUDED__
00016 #define __GUI_DIALOGS_ADDON_CONNECT_HPP_INCLUDED__
00017 
00018 #include <string>
00019 
00020 class CVideo;
00021 
00022 namespace gui2 {
00023 
00024 class taddon_connect
00025 {
00026 public:
00027     taddon_connect() : 
00028         retval_(0),
00029         host_name_()
00030     {}
00031 
00032     void show(CVideo& video);
00033 
00034     int get_retval() const { return retval_; }
00035 
00036     const std::string& host_name() const { return host_name_; }
00037 
00038     void set_host_name(const std::string& host_name) 
00039         { host_name_ = host_name; }
00040 
00041 private:
00042     int retval_;
00043     std::string host_name_;
00044 
00045 };
00046 
00047 } // namespace gui2
00048 
00049 #endif

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