File indexing completed on 2025-01-05 05:23:43
0001 /* 0002 This file is part of the Okteta Kasten Framework, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2010, 2011, 2012 Alex Richardson <alex.richardson@gmx.de> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #include "abstractstructureparser.hpp" 0010 0011 #include "../structuredefinitionfile.hpp" 0012 #include "../script/scriptlogger.hpp" 0013 #include <structureslogging.hpp> 0014 0015 #include <QFile> 0016 0017 AbstractStructureParser::AbstractStructureParser(const QString& pluginName, const QString& absolutePath) 0018 : mPluginName(pluginName) 0019 , mAbsolutePath(absolutePath) 0020 { 0021 if (!QFile::exists(absolutePath)) { 0022 qCWarning(LOG_KASTEN_OKTETA_CONTROLLERS_STRUCTURES) << "File" << absolutePath << "does not exist, parsing structure will fail!"; 0023 } 0024 } 0025 0026 AbstractStructureParser::~AbstractStructureParser() = default;