2017-03-12 13:34:56 -04:00
|
|
|
/*
|
2017-06-09 17:40:36 -04:00
|
|
|
* Copyright (C) 2017 KeePassXC Team <team@keepassxc.org>
|
2017-03-12 13:34:56 -04:00
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 2 or (at your option)
|
|
|
|
* version 3 of the License.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef KEEPASSXC_SHOW_H
|
|
|
|
#define KEEPASSXC_SHOW_H
|
|
|
|
|
2017-07-17 15:16:53 -04:00
|
|
|
#include "Command.h"
|
|
|
|
|
|
|
|
class Show : public Command
|
2017-03-12 13:34:56 -04:00
|
|
|
{
|
|
|
|
public:
|
2017-07-17 15:16:53 -04:00
|
|
|
Show();
|
|
|
|
~Show();
|
2018-10-29 16:14:35 -04:00
|
|
|
int execute(const QStringList& arguments) override;
|
2018-11-09 21:58:42 -05:00
|
|
|
int showEntry(Database* database, QStringList attributes, bool showTotp, const QString& entryPath);
|
2017-03-12 13:34:56 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // KEEPASSXC_SHOW_H
|