File indexing completed on 2024-05-12 05:50:21

0001 /*
0002     SPDX-FileCopyrightText: 2008 Claudio Bantaloukas <rockdreamer@gmail.com>
0003     SPDX-FileCopyrightText: 2007 Henrique Pinto <henrique.pinto@kdemail.net>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef CLIPLUGIN_H
0009 #define CLIPLUGIN_H
0010 
0011 #include "kerfuffle/cliinterface.h"
0012 
0013 using namespace Kerfuffle;
0014 
0015 class CliPlugin : public CliInterface
0016 {
0017 public:
0018     explicit CliPlugin(QObject *parent = 0, const QVariantList &args = QVariantList());
0019     virtual ~CliPlugin();
0020 
0021     virtual ParameterList parameterList() const;
0022     bool readListLine(const QString &line);
0023 
0024 private:
0025     bool m_isFirstLine, m_incontent, m_isPasswordProtected;
0026     QString m_entryFilename;
0027 };
0028 
0029 #endif // CLIPLUGIN_H