El lun, 29-06-2009 a las 01:45 +0200, Pino Toscano escribió:
> Hi,
> 
> currently, an Annots object owns the various Annot* objects thus, if you want 
> to keep them, you have to keep the "parent" Annots object around as well.
> My goal is to have each Annot object stored in each "wrapper" Annotation 
> object of the Qt4 frontend, but without the need to tie them to a Page object.
> The less "destructive" solution I have so far is a takeAnnot() method (see 
> attached patch) which would get an Annot object and give its ownership to the 
> callee.

What about adding reference counting?

> This also could help the glib frontend, which currently keeps an Annots 
> object 
> around for each page.
> 
> What do you think?
> _______________________________________________
> poppler mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/poppler


-- 
Carlos Garcia Campos
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to