Skip to content

Commit d80e56e

Browse files
committed
writer: renamed from abstract-writer
... to make the file naming more consistent and extensible
1 parent 3f3369b commit d80e56e

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ add_definitions(-DBOOST_BIND_GLOBAL_PLACEHOLDERS)
6363
# cslib.a
6464
add_library(cs STATIC
6565
abstract-filter.cc
66-
abstract-writer.cc
6766
color.cc
6867
csdiff-core.cc
6968
csfilter.cc
@@ -83,6 +82,7 @@ add_library(cs STATIC
8382
parser-xml.cc
8483
shared-string.cc
8584
version.cc
85+
writer.cc
8686
)
8787

8888
# link cslib.a and boost libraries

src/abstract-filter.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef H_GUARD_ABSTRACT_FILTER_H
2121
#define H_GUARD_ABSTRACT_FILTER_H
2222

23-
#include "abstract-writer.hh"
23+
#include "writer.hh"
2424

2525
#include <memory>
2626

src/cssort.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* along with csdiff. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
#include "abstract-writer.hh"
2120
#include "regex.hh"
2221
#include "version.hh"
22+
#include "writer.hh"
2323

2424
#include <boost/program_options.hpp>
2525

src/html-writer.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef H_GUARD_HTML_WRITER_H
2121
#define H_GUARD_HTML_WRITER_H
2222

23-
#include "abstract-writer.hh"
23+
#include "writer.hh"
2424

2525
class CweNameLookup;
2626
class DefLookup;

src/json-writer.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef H_GUARD_JSON_WRITER_H
2121
#define H_GUARD_JSON_WRITER_H
2222

23-
#include "abstract-writer.hh"
23+
#include "writer.hh"
2424

2525
#include <iostream>
2626
#include <memory>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with csdiff. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
#include "abstract-writer.hh"
20+
#include "writer.hh"
2121

2222
#include "cswriter.hh"
2323
#include "html-writer.hh"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* along with csdiff. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
#ifndef H_GUARD_ABSTRACT_WRITER_H
21-
#define H_GUARD_ABSTRACT_WRITER_H
20+
#ifndef H_GUARD_WRITER_H
21+
#define H_GUARD_WRITER_H
2222

2323
#include "parser.hh"
2424
#include "color.hh"
@@ -85,4 +85,4 @@ class CtxEventDetector {
8585
std::unique_ptr<Private> d;
8686
};
8787

88-
#endif /* H_GUARD_ABSTRACT_WRITER_H */
88+
#endif /* H_GUARD_WRITER_H */

0 commit comments

Comments
 (0)