summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-03-16 23:32:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-03-16 23:32:29 (GMT)
commit4021e5f02ce71b35423852cd89fb6f0f2776f7b8 (patch)
tree8f0bbd1632d05d586f7d4af71a80a02906efd5c3 /src/core
parentb94be85e00d7770af4de93bbba91b421cfb6faea (diff)
Created a new feature and stored all main moves in the database.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/collections.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/collections.c b/src/core/collections.c
index 08c97e1..5637d05 100644
--- a/src/core/collections.c
+++ b/src/core/collections.c
@@ -33,6 +33,7 @@
#include "../analysis/db/protocol.h"
#include "../analysis/db/items/bookmark.h"
#include "../analysis/db/items/comment.h"
+#include "../analysis/db/items/move.h"
#include "../analysis/db/items/switcher.h"
@@ -106,6 +107,9 @@ bool load_hard_coded_collection_definitions(void)
id = register_collection_type(G_TYPE_COMMENT_COLLECTION);
assert(id == DBF_COMMENTS);
+ id = register_collection_type(G_TYPE_MOVE_COLLECTION);
+ assert(id == DBF_MOVES);
+
id = register_collection_type(G_TYPE_SWITCHER_COLLECTION);
assert(id == DBF_DISPLAY_SWITCHERS);