akiraux / Akira

Native Linux App for UI and UX Design built in Vala and GTK
GNU General Public License v3.0
5.24k stars 203 forks source link

Implement serialization / deserialization for Lib2 #648

Closed mbfraga closed 2 years ago

mbfraga commented 2 years ago
## Summary / How this PR fixes the problem? Still a WIP, a lot of checks aren't there, so if something isn't right it could crash. For the most part it should be ok. It can be improved with time. Structure is also not ideal, but not sure what would be the best way in the future. I mostly want to get the ball rolling, and I kept serialization and deserialization aspects in files together to make things easier to follow. Things could potentially be better with delegates and whatnot, but meh. ## Steps to Test Save and load normally with Ctrl-s and Ctrl-o. Only works within Lib2, it will not open master files.