X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionpolylineappend.cpp;h=528ec93f5cdba550a812cdb3048b4cc4e7f368c5;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;p=architektonas diff --git a/src/actions/actionpolylineappend.cpp b/src/actions/actionpolylineappend.cpp index e69de29..528ec93 100644 --- a/src/actions/actionpolylineappend.cpp +++ b/src/actions/actionpolylineappend.cpp @@ -0,0 +1,40 @@ +// actionpolylineappend.cpp +// +// Part of the Architektonas Project +// by James L. Hammons +// Copyright (C) 2010 Underground Software +// See the README and GPLv2 files for licensing and warranty information +// +// JLH = James L. Hammons +// +// Who When What +// --- ---------- ----------------------------------------------------------- +// JLH 09/13/2010 Created this file. :-) +// + +#include "actionpolylineappend.h" + +#include "debug.h" +#include "dialogfactory.h" +#include "graphicview.h" +#include "polyline.h" + +ActionPolylineAppend::ActionPolylineAppend(EntityContainer & container, + GraphicView & graphicView): + ActionInterface("Draw polyline", container, graphicView) +{ +// vertex = Vector(false); + polyline = NULL; +} + +ActionPolylineAppend::~ActionPolylineAppend() +{ + if (polyline) + delete polyline; +} + +/*virtual*/ RS2::ActionType ActionPolylineAppend::rtti() +{ + return RS2::ActionPolylineAppend; +} +