
15 Aug
2007
15 Aug
'07
5:17 a.m.
On Mon, 2007-08-13 at 17:44 +0300, Niko Kiirala wrote:
but how can I access an SPItem from within a NR::Filter method?
There doesn't exist a way yet. NR::Filter::render receives a pointer to the arenaitem when invoked, so that's probably the best starting point.
Yes, starting from NRArenaItem is a _far_ better approach than having NRFilter touch SPItem -- we don't want to tie NRArenaItem or NRFilter to SPItem!
(among other things, decoupling the rendering subsystem from SPObject is one of the important prerequisites for improving our thread safety)
-mental