Rockbox mail archiveSubject: Re: Viewing Files With Plugins
From: Björn Stenberg (bjorn_at_haxx.se)
Henrik Backe wrote:
In my mind there is only one class of viewer plugins: those in the viewer dir, all treated alike.
> so we either have to stick with
The reason I and Daniel added the [anything] part of the filename was to avoid the problem of not knowing which plugin actually views which file type.
If the dir contains hex.rock, ansi.rock and txt.rock, it's not easy seeing which plugin you have actually assigned to view which file. Calling them hex-hexedit.rock ansi-johnsviewer.rock and txt-emacs.rock at least gives the possibility of keeping an identifying mark on each file.
> Another drawback, if we keep all the viewers in the same directory, with the
Sure we can: txt-text-viewer.rock would be perfectly acceptable. We simply can not use "-" in extensions.
Page was last modified "Jan 10 2012" The Rockbox Crew