From 93e75af38815af9d28dd21f5ebc2212830a47c2f Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 17 May 2018 07:49:38 +0200 Subject: [PATCH] Rename plot_auxiliary_data.h file to gbr_metadata.h, according to the class names defined by this file --- common/gbr_metadata.cpp | 2 +- common/plotters/GERBER_plotter.cpp | 2 +- gerbview/job_file_reader.cpp | 2 +- include/{plot_auxiliary_data.h => gbr_metadata.h} | 12 ++++++------ pcbnew/exporters/gendrill_gerber_writer.cpp | 2 +- pcbnew/exporters/gerber_jobfile_writer.cpp | 2 +- pcbnew/plot_board_layers.cpp | 2 +- pcbnew/plot_brditems_plotter.cpp | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) rename include/{plot_auxiliary_data.h => gbr_metadata.h} (97%) diff --git a/common/gbr_metadata.cpp b/common/gbr_metadata.cpp index fe24f23377..73b8a295e5 100644 --- a/common/gbr_metadata.cpp +++ b/common/gbr_metadata.cpp @@ -29,7 +29,7 @@ */ #include -#include +#include std::string GBR_APERTURE_METADATA::FormatAttribute( GBR_APERTURE_ATTRIB aAttribute ) diff --git a/common/plotters/GERBER_plotter.cpp b/common/plotters/GERBER_plotter.cpp index 8371a97376..6b62ab2730 100644 --- a/common/plotters/GERBER_plotter.cpp +++ b/common/plotters/GERBER_plotter.cpp @@ -40,7 +40,7 @@ #include -#include +#include GERBER_PLOTTER::GERBER_PLOTTER() diff --git a/gerbview/job_file_reader.cpp b/gerbview/job_file_reader.cpp index 9c7e4fd22c..8cc29098e1 100644 --- a/gerbview/job_file_reader.cpp +++ b/gerbview/job_file_reader.cpp @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/plot_auxiliary_data.h b/include/gbr_metadata.h similarity index 97% rename from include/plot_auxiliary_data.h rename to include/gbr_metadata.h index 100acb3feb..97559dabf5 100644 --- a/include/plot_auxiliary_data.h +++ b/include/gbr_metadata.h @@ -23,15 +23,15 @@ */ /** - * a class to handle special data during plot. + * a class to handle special data (items attributes) during plot. * used in Gerber plotter to generate auxiliary data during plot - * (for instance info associated to flashed pads) + * (for instance info associated to apertures and flashed pads) * - * @file plot_auxiliary_data.h + * @file gbr_metadata.h */ -#ifndef PLOT_EXTRA_DATA_H -#define PLOT_EXTRA_DATA_H +#ifndef GBR_METADATA_H +#define GBR_METADATA_H #include @@ -188,4 +188,4 @@ wxString FormatStringFromGerber( const wxString& aString ); bool FormatNetAttribute( std::string& aPrintedText, std::string& aLastNetAttributes, GBR_NETLIST_METADATA* aData, bool& aClearPreviousAttributes ); -#endif // PLOT_EXTRA_DATA_H +#endif // GBR_METADATA_H diff --git a/pcbnew/exporters/gendrill_gerber_writer.cpp b/pcbnew/exporters/gendrill_gerber_writer.cpp index 4397d004d3..351a330d85 100644 --- a/pcbnew/exporters/gendrill_gerber_writer.cpp +++ b/pcbnew/exporters/gendrill_gerber_writer.cpp @@ -44,7 +44,7 @@ #include #include #include -#include +#include #include diff --git a/pcbnew/exporters/gerber_jobfile_writer.cpp b/pcbnew/exporters/gerber_jobfile_writer.cpp index 8e3bdfd425..68a7e797cb 100644 --- a/pcbnew/exporters/gerber_jobfile_writer.cpp +++ b/pcbnew/exporters/gerber_jobfile_writer.cpp @@ -44,7 +44,7 @@ #include #include #include -#include +#include GERBER_JOBFILE_WRITER::GERBER_JOBFILE_WRITER( BOARD* aPcb, REPORTER* aReporter ) diff --git a/pcbnew/plot_board_layers.cpp b/pcbnew/plot_board_layers.cpp index 9e40c6fada..cc698b0527 100644 --- a/pcbnew/plot_board_layers.cpp +++ b/pcbnew/plot_board_layers.cpp @@ -51,7 +51,7 @@ #include #include -#include +#include // Local /* Plot a solder mask layer. diff --git a/pcbnew/plot_brditems_plotter.cpp b/pcbnew/plot_brditems_plotter.cpp index 54d59a6ffc..96ba2432ea 100644 --- a/pcbnew/plot_brditems_plotter.cpp +++ b/pcbnew/plot_brditems_plotter.cpp @@ -48,7 +48,7 @@ #include #include -#include +#include /* class BRDITEMS_PLOTTER is a helper class to plot board items * and a group of board items