X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionpolylinedel.cpp;h=078e57b5d8778fc8d68c1b7bb83a0e9dcc5cbac3;hb=e1d1cacbb43055988d0d9db632fdf05c0bea9543;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;p=architektonas diff --git a/src/actions/actionpolylinedel.cpp b/src/actions/actionpolylinedel.cpp index e69de29..078e57b 100644 --- a/src/actions/actionpolylinedel.cpp +++ b/src/actions/actionpolylinedel.cpp @@ -0,0 +1,35 @@ +// actionpolylinedel.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 "actionpolylinedel.h" + +#include "debug.h" +#include "dialogfactory.h" +#include "graphicview.h" +#include "polyline.h" + +ActionPolylineDel::ActionPolylineDel(EntityContainer & container, + GraphicView & graphicView): + ActionInterface("Draw polyline", container, graphicView) +{ +// vertex = Vector(false); + polyline = NULL; +} + +ActionPolylineDel::~ActionPolylineDel() +{ + if (polyline) + delete polyline; +} +