/**************************************************************************** ** ** This file is part of the LibreCAD project, a 2D CAD program ** ** Copyright (C) 2010 R. van Twisk (librecad@rvt.dds.nl) ** Copyright (C) 2001-2003 RibbonSoft. All rights reserved. ** ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file gpl-2.0.txt included in the ** packaging of this file. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ** ** This copyright notice MUST APPEAR in all copies of the script! ** **********************************************************************/ #ifndef DL_CREATIONADAPTER_H #define DL_CREATIONADAPTER_H #include "dl_creationinterface.h" /** * An abstract adapter class for receiving DXF events when a DXF file is being read. * The methods in this class are empty. This class exists as convenience for creating * listener objects. * * @author Andrew Mustun */ class DL_CreationAdapter : public DL_CreationInterface { public: DL_CreationAdapter() {} virtual ~DL_CreationAdapter() {} virtual void addLayer(const DL_LayerData&) {} virtual void addBlock(const DL_BlockData&) {} virtual void endBlock() {} virtual void addPoint(const DL_PointData&) {} virtual void addLine(const DL_LineData&) {} virtual void addArc(const DL_ArcData&) {} virtual void addCircle(const DL_CircleData&) {} virtual void addEllipse(const DL_EllipseData&) {} virtual void addPolyline(const DL_PolylineData&) {} virtual void addVertex(const DL_VertexData&) {} virtual void addSpline(const DL_SplineData&) {} virtual void addControlPoint(const DL_ControlPointData&) {} virtual void addKnot(const DL_KnotData&) {} virtual void addInsert(const DL_InsertData&) {} virtual void addMText(const DL_MTextData&) {} virtual void addMTextChunk(const char*) {} virtual void addText(const DL_TextData&) {} virtual void addDimAlign(const DL_DimensionData&, const DL_DimAlignedData&) {} virtual void addDimLinear(const DL_DimensionData&, const DL_DimLinearData&) {} virtual void addDimRadial(const DL_DimensionData&, const DL_DimRadialData&) {} virtual void addDimDiametric(const DL_DimensionData&, const DL_DimDiametricData&) {} virtual void addDimAngular(const DL_DimensionData&, const DL_DimAngularData&) {} virtual void addDimAngular3P(const DL_DimensionData&, const DL_DimAngular3PData&) {} virtual void addDimOrdinate(const DL_DimensionData&, const DL_DimOrdinateData&) {} virtual void addLeader(const DL_LeaderData&) {} virtual void addLeaderVertex(const DL_LeaderVertexData&) {} virtual void addHatch(const DL_HatchData&) {} virtual void addTrace(const DL_TraceData&) {} virtual void add3dFace(const DL_3dFaceData&) {} virtual void addSolid(const DL_SolidData&) {} virtual void addImage(const DL_ImageData&) {} virtual void linkImage(const DL_ImageDefData&) {} virtual void addHatchLoop(const DL_HatchLoopData&) {} virtual void addHatchEdge(const DL_HatchEdgeData&) {} virtual void endEntity() {} virtual void addComment(const char* comment) {} virtual void setVariableVector(const char*, double, double, double, int) {} virtual void setVariableString(const char*, const char*, int) {} virtual void setVariableInt(const char*, int, int) {} virtual void setVariableDouble(const char*, double, int) {} virtual void endSequence() {} }; #endif