diff options
Diffstat (limited to 'src/cli/Remove.h')
-rw-r--r-- | src/cli/Remove.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/cli/Remove.h b/src/cli/Remove.h index fa8bc7bd6..6019bfa16 100644 --- a/src/cli/Remove.h +++ b/src/cli/Remove.h @@ -18,17 +18,14 @@ #ifndef KEEPASSXC_REMOVE_H #define KEEPASSXC_REMOVE_H -#include "Command.h" +#include "DatabaseCommand.h" -#include "core/Database.h" - -class Remove : public Command +class Remove : public DatabaseCommand { public: Remove(); - ~Remove(); - int execute(const QStringList& arguments) override; - int removeEntry(Database* database, const QString& databasePath, const QString& entryPath, bool quiet); + + int executeWithDatabase(QSharedPointer<Database> db, QSharedPointer<QCommandLineParser> parser); }; #endif // KEEPASSXC_REMOVE_H |