mod: adapt pdfreader and djvureader to unireader

This commit is contained in:
Qingping Hou
2012-03-04 19:34:19 +08:00
parent 56470a75b0
commit e4e0eb45ee
3 changed files with 12 additions and 821 deletions

View File

@@ -111,6 +111,10 @@ if r_cfont ~=nil then
FontChooser.cfont = r_cfont
end
-- initialize specific readers
PDFReader:init()
DJVUReader:init()
-- display directory or open file
if lfs.attributes(ARGV[optind], "mode") == "directory" then
local running = true