KompareDiff2

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

KDE's Doxygen guidelines are available online.