X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionpolylineadd.cpp;h=436f5c2c47320228697068da73fe17eccd104ea0;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;p=architektonas diff --git a/src/actions/actionpolylineadd.cpp b/src/actions/actionpolylineadd.cpp index e69de29..436f5c2 100644 --- a/src/actions/actionpolylineadd.cpp +++ b/src/actions/actionpolylineadd.cpp @@ -0,0 +1,40 @@ +// actionpolylineadd.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 "actionpolylineadd.h" + +#include "debug.h" +#include "dialogfactory.h" +#include "graphicview.h" +#include "polyline.h" + +ActionPolylineAdd::ActionPolylineAdd(EntityContainer & container, + GraphicView & graphicView): + ActionInterface("Draw polyline", container, graphicView) +{ +// vertex = Vector(false); + polyline = NULL; +} + +ActionPolylineAdd::~ActionPolylineAdd() +{ + if (polyline) + delete polyline; +} + +/*virtual*/ RS2::ActionType ActionPolylineAdd::rtti() +{ + return RS2::ActionPolylineAdd; +} +