19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 | import re
import json
# hooks three functions to the main extension menu
class prefstore():
meta = plugin_meta()
module = "prefstore"
# Register callback
def __init__(self, parent):
if not parent:
return
self.parent = parent
uikit.add_menu([parent.extensions], "Config save", self.save) |
>
<
| 19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 | import re
import json
# hooks three functions to the main extension menu
class prefstore():
module = __name__
meta = plugin_meta()
# Register callback
def __init__(self, parent):
if not parent:
return
self.parent = parent
uikit.add_menu([parent.extensions], "Config save", self.save) |