summaryrefslogtreecommitdiffstats
path: root/src/commands/addentries.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/addentries.h')
-rw-r--r--src/commands/addentries.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/commands/addentries.h b/src/commands/addentries.h
new file mode 100644
index 0000000..54d8e29
--- /dev/null
+++ b/src/commands/addentries.h
@@ -0,0 +1,44 @@
+/***************************************************************************
+ 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_ADDENTRIES_H
+#define TELLICO_ADDENTRIES_H
+
+#include "../datavectors.h"
+
+#include <kcommand.h>
+
+namespace Tellico {
+ namespace Command {
+
+/**
+ * @author Robby Stephenson
+ */
+class AddEntries : public KCommand {
+
+public:
+ AddEntries(Data::CollPtr coll, const Data::EntryVec& entries);
+
+ virtual void execute();
+ virtual void unexecute();
+ virtual QString name() const;
+
+private:
+ Data::CollPtr m_coll;
+ Data::EntryVec m_entries;
+};
+
+ } // end namespace
+}
+
+#endif