X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionpolylinedel.cpp;h=af4be0bee7d74fe11b27ed2221b61bd826e5aa40;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;p=architektonas diff --git a/src/actions/actionpolylinedel.cpp b/src/actions/actionpolylinedel.cpp index e69de29..af4be0b 100644 --- a/src/actions/actionpolylinedel.cpp +++ b/src/actions/actionpolylinedel.cpp @@ -0,0 +1,40 @@ +// 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; +} + +/*virtual*/ RS2::ActionType ActionPolylineDel::rtti() +{ + return RS2::ActionPolylineDel; +} +