dev-guide:embedded-file-object
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev-guide:embedded-file-object [2025/01/08 18:20] – gaetan | dev-guide:embedded-file-object [2025/01/08 19:11] (current) – gaetan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Custom object persistence ====== | ====== Custom object persistence ====== | ||
- | GroIMP require | + | GroIMP require |
- | GroIMP define its own [[: | + | GroIMP define its own [[: |
+ | Usually the persistence is handled in memory (except when the project is saved), but GroIMP provides a way to integrate it with file persistence (the object is written/ | ||
+ | |||
+ | ===== Embedded objects ===== | ||
+ | |||
+ | In GroIMP embedded objects are objects whose persistence is pushed in a file. | ||
+ | |||
+ | EmbeddedSharedObject (ESO) is a class, thus the object needs to extends it. | ||
+ | The ESO create on the fly and manage an EmbeddedFileObject (EFO). | ||
+ | |||
+ | The object that extends ESO need to implements the following methods: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | |||
+ | Check [[: | ||
+ | |||
- | ===== ESO ===== |
dev-guide/embedded-file-object.1736356846.txt.gz · Last modified: 2025/01/08 18:20 by gaetan