File indexing completed on 2024-12-29 04:51:01

0001 /*
0002    SPDX-FileCopyrightText: 2023 Volker Krause <vkrause@kde.org>
0003    SPDX-License-Identifier: LGPL-2.0-or-later
0004 */
0005 
0006 #ifndef KITINERARY_PLISTDOCUMENTPROCESSOR_H
0007 #define KITINERARY_PLISTDOCUMENTPROCESSOR_H
0008 
0009 #include <KItinerary/ExtractorDocumentProcessor>
0010 
0011 namespace KItinerary {
0012 
0013 /** Document node processor for Apple property lists. */
0014 class PListDocumentProcessor : public ExtractorDocumentProcessor
0015 {
0016 public:
0017     bool canHandleData(const QByteArray &encodedData, QStringView fileName) const override;
0018     ExtractorDocumentNode createNodeFromData(const QByteArray &encodedData) const override;
0019     void expandNode(ExtractorDocumentNode &node, const ExtractorEngine *engine) const override;
0020 };
0021 
0022 }
0023 
0024 #endif // KITINERARY_PLISTDOCUMENTPROCESSOR_H