KompareDiff2

cvsdiffparser.h
1 /*
2 SPDX-FileCopyrightText: 2002-2004 Otto Bruggeman <[email protected]>
3 
4 SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #ifndef CVSDIFF_PARSER_H
8 #define CVSDIFF_PARSER_H
9 
10 #include "parserbase.h"
11 
12 namespace Diff2
13 {
14 
15 class KompareModelList;
16 
17 class CVSDiffParser : public ParserBase
18 {
19 public:
20  CVSDiffParser(const KompareModelList* list, const QStringList& diff);
21  ~CVSDiffParser() override;
22 
23 protected:
24  enum Kompare::Format determineFormat() override;
25 
26 protected:
27 // virtual bool parseContextDiffHeader();
28  bool parseEdDiffHeader() override;
29  bool parseNormalDiffHeader() override;
30  bool parseRCSDiffHeader() override;
31 // virtual bool parseUnifiedDiffHeader();
32 
33 // virtual bool parseContextHunkHeader();
34  bool parseEdHunkHeader() override;
35 // virtual bool parseNormalHunkHeader();
36  bool parseRCSHunkHeader() override;
37 // virtual bool parseUnifiedHunkHeader();
38 
39 // virtual bool parseContextHunkBody();
40  bool parseEdHunkBody() override;
41 // virtual bool parseNormalHunkBody();
42  bool parseRCSHunkBody() override;
43 // virtual bool parseUnifiedHunkBody();
44 };
45 
46 } // End of namespace Diff2
47 
48 #endif
Diff2 namespace.
Definition: cvsdiffparser.h:12
Format
Patch format enum.
Definition: kompare.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Dec 4 2022 03:52:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.