diff options
Diffstat (limited to 'plugins/python/apkfiles/apkfiles.py')
-rw-r--r-- | plugins/python/apkfiles/apkfiles.py | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/plugins/python/apkfiles/apkfiles.py b/plugins/python/apkfiles/apkfiles.py index 7c05ca9..b85b0c8 100644 --- a/plugins/python/apkfiles/apkfiles.py +++ b/plugins/python/apkfiles/apkfiles.py @@ -1,15 +1,36 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -from pychrysalide import Plugin - +from pychrysalide import PluginModule import zipfile -class ApkFiles(Plugin): +class ApkFiles(PluginModule): """Open and process APK files.""" + def get_interface(self): + """Provide the full plugin description.""" + + desc = { + + 'name' : 'Welcome', + 'desc' : 'Add suppport for the APK file format', + 'version' : '0.1', + + 'actions' : [ PluginModule.PGA_PLUGIN_INIT ] + + } + + return desc + + + def init(self, ref): + """Initialise l'extension.""" + + return True + + def get_action(self): """Register the plugin for given actions.""" |