print/print_store library

Classes

InMemoryPrintStore
Keeps the library in memory: useful for demos and for apps that do not persist templates. Everything is lost when the app closes.
PrintStore
Where the print library lives: a server, a file, a database. The app provides the implementation; the library only calls these methods and changes its own lists after they succeed.
PrintStoreItem
One stored item. data is a JSON-compatible map owned by the library model it comes from (template, paper format, category).
PrintStoreSnapshot
What a PrintStore holds at a given moment.

Enums

PrintCollection
Collections of the print library.