X-Git-Url: http://git.tdb.fi/?p=netvis.git;a=blobdiff_plain;f=source%2Fport.h;h=4ce9427fc6df5b6913afd0743e8a8fb38dbe9a22;hp=d0511e96751c5ed6ca095a6a09a3677bb4fc9510;hb=9954e8cbf9bae21f5a727f9c92e9c33dc6d8eaf1;hpb=cc29ebb178d4695573f10a829534cb660e14e79d diff --git a/source/port.h b/source/port.h index d0511e9..4ce9427 100644 --- a/source/port.h +++ b/source/port.h @@ -19,6 +19,7 @@ class Port private: NetVis &netvis; unsigned number; + bool registered; std::string name; Msp::GL::Color color; Msp::GL::Mesh mesh; @@ -27,6 +28,7 @@ public: Port(NetVis &, unsigned); unsigned get_number() const { return number; } + bool is_registered() const { return registered; } const std::string &get_name() const { return name; } const Msp::GL::Color &get_color() const { return color; }