mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
separate DC out of pdf.c and djvu.c (cleanup)
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
require "unireader"
|
||||
|
||||
PDFReader = UniReader:new{
|
||||
newDC = function()
|
||||
print("pdf.newDC")
|
||||
return pdf.newDC()
|
||||
end,
|
||||
}
|
||||
|
||||
function PDFReader:init()
|
||||
self.nulldc = self.newDC();
|
||||
end
|
||||
PDFReader = UniReader:new{}
|
||||
|
||||
-- open a PDF file and its settings store
|
||||
function PDFReader:open(filename, password)
|
||||
|
||||
Reference in New Issue
Block a user