X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/48227aedaabfe971362c80f5f9eb4be29e2a64ed..acf9258bf769e7a5c87adb453945943770a2d6b8:/Model/src/elementoplanta.cpp diff --git a/Model/src/elementoplanta.cpp b/Model/src/elementoplanta.cpp index 244ea6e..46fe703 100644 --- a/Model/src/elementoplanta.cpp +++ b/Model/src/elementoplanta.cpp @@ -4,7 +4,12 @@ using namespace PlaQui; -ElementoPlanta::ElementoPlanta() +ElementoPlanta::ElementoPlanta(const std::string &_name):IConector(0, 0) +{ + name = _name; +} + +ElementoPlanta::ElementoPlanta(unsigned ins, unsigned outs):IConector(ins, outs) { } @@ -16,7 +21,7 @@ void ElementoPlanta::recieve_msg(int msg, IConector *who) { switch (msg) { case MSG_QUERY_MAX_FLOW: - /// TODO + // TODO return; break; default: