+// 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 <jlhamm@acm.org>
+//
+// 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;
+}
+