namespace PT renamed to pt

This commit is contained in:
2021-05-20 20:59:12 +02:00
parent d66a36cf21
commit e48a28a5c8
100 changed files with 597 additions and 597 deletions

View File

@@ -73,18 +73,18 @@ void AddWinixFunctions(PluginInfo & info)
// create a class from these methods
void ReloadConfigFile(PluginInfo & info, Item & file)
{
PT::Space space;
PT::SpaceParser parser;
pt::Space space;
pt::SpaceParser parser;
parser.SetSpace(space);
PT::SpaceParser::Status status = parser.ParseSpace(file.item_content.content_raw);
pt::SpaceParser::Status status = parser.ParseSpace(file.item_content.content_raw);
if( status == PT::SpaceParser::syntax_error )
if( status == pt::SpaceParser::syntax_error )
{
info.log << log1 << "MR: syntax error in file: " << file.url << ", line: " << parser.get_last_parsed_line() << " (skipping this file)" << logend;
}
else
if( status == PT::SpaceParser::ok )
if( status == pt::SpaceParser::ok )
{
std::wstring * list_id_str = space.get_wstr(L"list_id");