mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
plugin modules have 'name' field
This commit is contained in:
@@ -26,6 +26,7 @@ function PluginLoader:loadPlugins()
|
||||
package.path = package_path
|
||||
package.cpath = package_cpath
|
||||
if ok then
|
||||
module.name = module.name or "unknownplugin"
|
||||
module.path = path
|
||||
table.insert(self.plugins, module)
|
||||
end
|
||||
|
||||
@@ -22,6 +22,7 @@ local dummy = require("ffi/zeromq_h")
|
||||
More details can be found at calibre/devices/smart_device_app/driver.py.
|
||||
--]]
|
||||
local CalibreCompanion = InputContainer:new{
|
||||
name = "calibrecompanion",
|
||||
-- calibre companion local port
|
||||
port = 8134,
|
||||
-- calibre broadcast ports used to find calibre server
|
||||
|
||||
@@ -13,6 +13,7 @@ local slt2 = require('slt2')
|
||||
local MyClipping = require("clip")
|
||||
|
||||
local EvernoteExporter = InputContainer:new{
|
||||
name = "evernote",
|
||||
login_title = _("Login to Evernote"),
|
||||
notebook_name = _("Koreader Notes"),
|
||||
evernote_domain = nil,
|
||||
|
||||
@@ -28,6 +28,7 @@ int rmdir(const char *);
|
||||
|
||||
local dummy = require("ffi/zeromq_h")
|
||||
local ZSync = InputContainer:new{
|
||||
name = "zsync",
|
||||
}
|
||||
|
||||
function ZSync:init()
|
||||
|
||||
Reference in New Issue
Block a user