summaryrefslogtreecommitdiff
path: root/lib/persistance.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/persistance.h')
-rw-r--r--lib/persistance.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/persistance.h b/lib/persistance.h
index 75222e0..92366f2 100644
--- a/lib/persistance.h
+++ b/lib/persistance.h
@@ -198,4 +198,7 @@ namespace Persistanace {
};
}
+#define STORE_TYPE store.persistType(typeid(*this))
+#define STORE_MEMBER(mbr) store.persistValue(#mbr, mbr)
+
#endif