
14 Mar
2008
14 Mar
'08
8:40 a.m.
Hello
I strongly believe Inkscape input and output extensions should accept Writers, not URIs. Currently much of Gnome-VFS boilerplate is duplicated between the extensions. If we used Writers instead of URIs: 1. The GnomeVFS code would be contained to a particular OutputStream, and could be easily replaced with GVFS once it's around. 2. Adding KIO support would be easy, just create a new OutputStream and use it. There could be a function that automatically creates the best OutputStream for a given platform. 3. Memory output ability - this is what I need for the clipboard work. 4. Windows-specific filename hacking could be contained to a particular OutputStream.
Regards, Krzysztof (Chris) Kosiński
--
View this message in context: http://www.nabble.com/IO-extensions-should-accept-Writers-tp16046549p1604654...
Sent from the Inkscape - Dev mailing list archive at Nabble.com.