summaryrefslogtreecommitdiffstats
path: root/src/collections/cardcollection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/collections/cardcollection.h')
-rw-r--r--src/collections/cardcollection.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/collections/cardcollection.h b/src/collections/cardcollection.h
new file mode 100644
index 0000000..61fd2b0
--- /dev/null
+++ b/src/collections/cardcollection.h
@@ -0,0 +1,49 @@
+/***************************************************************************
+ copyright : (C) 2003-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 CARDCOLLECTION_H
+#define CARDCOLLECTION_H
+
+#include "../collection.h"
+
+namespace Tellico {
+ namespace Data {
+
+/**
+ * A collection for sports cards.
+ *
+ * It has the following standard attributes:
+ * @li Title
+ *
+ * @author Robby Stephenson
+ */
+class CardCollection : public Collection {
+Q_OBJECT
+
+public:
+ /**
+ * The constructor
+ *
+ * @param addFields A boolean indicating whether the default attributes should be added
+ * @param title The title of the collection
+ */
+ CardCollection(bool addFields, const QString& title = QString::null);
+
+ virtual Type type() const { return Card; }
+
+ static FieldVec defaultFields();
+};
+
+ } // end namespace
+} // end namespace
+#endif