add gateway switch

This commit is contained in:
cuu
2019-01-08 16:56:58 +08:00
parent 4ee982e212
commit 9d6d051c6f
4 changed files with 484 additions and 16 deletions

View File

@@ -91,8 +91,13 @@ func RunPlugin(p *goplugin.Plugin, main_screen *MainScreen) {
pi.Run(main_screen)
}
const (
PluginPackage = iota
PluginSo
)
type UIPlugin struct{ //Loadable and injectable
Type int
Type int // 0 == loadable package, 1 == .so
SoFile string
FolderName string
LabelText string