Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/Show.h')
-rw-r--r--src/cli/Show.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/cli/Show.h b/src/cli/Show.h
index 32dab7efb..03700b465 100644
--- a/src/cli/Show.h
+++ b/src/cli/Show.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2017 KeePassXC Team <team@keepassxc.org>
+ * Copyright (C) 2019 KeePassXC Team <team@keepassxc.org>
*
* 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
@@ -18,15 +18,17 @@
#ifndef KEEPASSXC_SHOW_H
#define KEEPASSXC_SHOW_H
-#include "Command.h"
+#include "DatabaseCommand.h"
-class Show : public Command
+class Show : public DatabaseCommand
{
public:
Show();
- ~Show();
- int execute(const QStringList& arguments) override;
- int showEntry(Database* database, QStringList attributes, bool showTotp, const QString& entryPath);
+
+ int executeWithDatabase(QSharedPointer<Database> db, QSharedPointer<QCommandLineParser> parser);
+
+ static const QCommandLineOption TotpOption;
+ static const QCommandLineOption AttributesOption;
};
#endif // KEEPASSXC_SHOW_H