add koreader plugin mechanism

This should implement #505.
This commit is contained in:
chrox committed 2014-04-23 22:30:36 +08:00
1 parent 24d5c01a73
commit 34fd9f3efa
5 files changed
+63 -2

No files matched your search

@@ -28,6 +28,9 @@ function ReaderMenu:init()
typeset = {
icon = "resources/icons/appbar.page.text.png",
},
plugins = {
icon = "resources/icons/appbar.tools.png",
},
home = {
icon = "resources/icons/appbar.home.png",
callback = function()
@@ -105,6 +108,7 @@ function ReaderMenu:onShowReaderMenu()
self.tab_item_table.navi,
self.tab_item_table.typeset,
self.tab_item_table.main,
self.tab_item_table.plugins,
self.tab_item_table.home,
},
show_parent = menu_container,