]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionpolylineappend.cpp
Phase two of adding polyline functionality...
[architektonas] / src / actions / actionpolylineappend.cpp
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..8a936f8ea965de9a8b04850f2acdc34b2debe81f 100644 (file)
@@ -0,0 +1,35 @@
+// 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 <jlhamm@acm.org>
+//
+// 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;
+}
+