2017-03-12 13:34:56 -04:00
|
|
|
/*
|
2019-06-01 17:53:40 -04:00
|
|
|
* Copyright (C) 2019 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
|
|
|
|
|
2019-06-01 17:53:40 -04:00
|
|
|
#include "DatabaseCommand.h"
|
2017-07-17 15:16:53 -04:00
|
|
|
|
2019-06-01 17:53:40 -04:00
|
|
|
class Show : public DatabaseCommand
|
2017-03-12 13:34:56 -04:00
|
|
|
{
|
|
|
|
public:
|
2017-07-17 15:16:53 -04:00
|
|
|
Show();
|
2019-06-01 17:53:40 -04:00
|
|
|
|
|
|
|
int executeWithDatabase(QSharedPointer<Database> db, QSharedPointer<QCommandLineParser> parser);
|
|
|
|
|
|
|
|
static const QCommandLineOption TotpOption;
|
|
|
|
static const QCommandLineOption AttributesOption;
|
2019-10-28 13:27:29 -04:00
|
|
|
static const QCommandLineOption ProtectedAttributesOption;
|
2021-11-03 23:29:44 -04:00
|
|
|
static const QCommandLineOption AttachmentsOption;
|
2017-03-12 13:34:56 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // KEEPASSXC_SHOW_H
|