diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-14 18:14:54 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-14 18:14:54 +0000 |
commit | 2d6772cb1c592e4bd75be40f1fdfa924bbbc3c07 (patch) | |
tree | 751ac31e6a0e38fb5f17040da3937856fad7f111 /test/testStructures.h | |
parent | Globally enable GLM vector swizzles (diff) | |
download | ilt-2d6772cb1c592e4bd75be40f1fdfa924bbbc3c07.tar.bz2 ilt-2d6772cb1c592e4bd75be40f1fdfa924bbbc3c07.tar.xz ilt-2d6772cb1c592e4bd75be40f1fdfa924bbbc3c07.zip |
Add postLoad support to persistence
Diffstat (limited to 'test/testStructures.h')
-rw-r--r-- | test/testStructures.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testStructures.h b/test/testStructures.h index 666562e..6966052 100644 --- a/test/testStructures.h +++ b/test/testStructures.h @@ -39,7 +39,10 @@ struct TestObject : public Persistence::Persistable { std::unique_ptr<AbsObject> aptr; std::vector<std::unique_ptr<TestObject>> vptr; + unsigned int postLoadCalled {}; + bool persist(Persistence::PersistenceStore & store) override; + void postLoad() override; }; struct SharedTestObject : public Persistence::Persistable { |