summaryrefslogtreecommitdiffstats
path: root/src/commands/removeloans.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/removeloans.h')
-rw-r--r--src/commands/removeloans.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/commands/removeloans.h b/src/commands/removeloans.h
new file mode 100644
index 0000000..5b578b7
--- /dev/null
+++ b/src/commands/removeloans.h
@@ -0,0 +1,43 @@
+/***************************************************************************
+ copyright : (C) 2005-2006 by Robby Stephenson
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of version 2 of the GNU General Public License as *
+ * published by the Free Software Foundation; *
+ * *
+ ***************************************************************************/
+
+#ifndef TELLICO_REMOVELOANS_H
+#define TELLICO_REMOVELOANS_H
+
+#include "../borrower.h"
+
+#include <kcommand.h>
+
+namespace Tellico {
+ namespace Command {
+
+/**
+ * @author Robby Stephenson
+ */
+class RemoveLoans : public KCommand {
+
+public:
+ RemoveLoans(Data::LoanVec loans);
+
+ virtual void execute();
+ virtual void unexecute();
+ virtual QString name() const;
+
+private:
+ Data::LoanVec m_loans;
+};
+
+ } // end namespace
+}
+
+#endif