#include <string>
#include <msp/time/timedelta.h>
#include "activity.h"
+#include "address.h"
#include "vector2.h"
class NetVis;
{
private:
NetVis &netvis;
- unsigned addr;
+ Address addr;
std::string name;
std::string short_name;
bool local;
float throttle;
public:
- Host(NetVis &, unsigned);
- unsigned get_address() const { return addr; }
+ Host(NetVis &, const Address &);
+
+ const Address &get_address() const { return addr; }
void set_name(const std::string &);
const std::string &get_name() const { return name; }
void set_local(bool);
+ bool is_local() const { return local; }
void set_position(const Vector2 &);
const Vector2 &get_position() const { return pos; }