6 void Globals::Startup(const struct PluginStartupInfo
*Info
)
9 command_prefix
= "inside"; //ensure not longer than MAX_COMMAND_PREFIX
11 std::string s
= plugin_path
;
12 size_t p
= s
.rfind(GOOD_SLASH
);
13 if (p
!= std::string::npos
) {
17 configs
.emplace_back(InMyConfig("plugins/inside/config.ini", false));
18 configs
.emplace_back(s
);
19 if (TranslateInstallPath_Lib2Share(s
))
20 configs
.emplace_back(s
);
25 const char *Globals::GetMsg(int id
)
27 return info
.GetMsg(info
.ModuleNumber
, id
);