]> git.tdb.fi Git - netvis.git/blobdiff - source/host.h
Restructure packet handling
[netvis.git] / source / host.h
index ec2741d6b7127183381cb6f858b054b8d0fd5dc2..c41610fd25d4b786420b8ee030d98340020fe851 100644 (file)
@@ -35,6 +35,7 @@ public:
        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; }