AttachmentRegistry

Every grant this session has made, by id.

Inherits QObject

In the namespace opal::attachment. Declared in src/libs/libopal/opal/attachment/AttachmentRegistry.hpp.

Detailed description

One per process. The chat input adds a grant when material is dropped; the attachment.* tasks look one up when the model asks to read. The two run on different threads, so every method takes the lock.

The registry holds ids and paths. It copies no file content and it owns no file: a dropped folder stays exactly where the user has it, and is never modified or removed.

The tasks AttachmentListTask and AttachmentReadTask read it.

In this section