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

@@ -83,7 +83,7 @@ SpaceMap::iterator i;
void SessionData::RemoveAllFiles(PT::Space & new_space)
void SessionData::RemoveAllFiles(pt::Space & new_space)
{
std::vector<long> new_file_tab;
BuildFileList(new_file_tab, new_space);
@@ -94,7 +94,7 @@ void SessionData::RemoveAllFiles(PT::Space & new_space)
void SessionData::RemoveAllStaleFiles(PT::Space & new_space, PT::Space & old_space)
void SessionData::RemoveAllStaleFiles(pt::Space & new_space, pt::Space & old_space)
{
std::vector<long> new_file_tab;
std::vector<long> old_file_tab;
@@ -140,7 +140,7 @@ void SessionData::RemoveAllStaleFiles(PT::Space & new_space, PT::Space & old_spa
void SessionData::BuildFileList(std::vector<long> & file_tab, PT::Space & space)
void SessionData::BuildFileList(std::vector<long> & file_tab, pt::Space & space)
{
file_tab.clear();
@@ -148,7 +148,7 @@ void SessionData::BuildFileList(std::vector<long> & file_tab, PT::Space & space)
{
for(size_t i=0 ; i<space.child_spaces->size() ; ++i)
{
PT::Space & sp = *(*space.child_spaces)[i];
pt::Space & sp = *(*space.child_spaces)[i];
if( sp.name && (*sp.name) == L"param" )
CheckFile(file_tab, sp);
@@ -157,13 +157,13 @@ void SessionData::BuildFileList(std::vector<long> & file_tab, PT::Space & space)
}
void SessionData::CheckFile(std::vector<long> & file_tab, PT::Space & space)
void SessionData::CheckFile(std::vector<long> & file_tab, pt::Space & space)
{
if( space.child_spaces )
{
for(size_t i=0 ; i<space.child_spaces->size() ; ++i)
{
PT::Space & subsp = *(*space.child_spaces)[i];
pt::Space & subsp = *(*space.child_spaces)[i];
if( subsp.name && *subsp.name == L"file" )
{
@@ -194,7 +194,7 @@ return res.first->second;
PT::Space & SessionData::GetOldSpace(long id, SpaceMap & space_map, bool * is_new)
pt::Space & SessionData::GetOldSpace(long id, SpaceMap & space_map, bool * is_new)
{
std::pair<SpaceMap::iterator, bool> res = space_map.insert( std::make_pair(id, SpacePair()) );
@@ -205,7 +205,7 @@ return res.first->second.old_space;
}
PT::Space & SessionData::GetNewSpace(long id, SpaceMap & space_map, bool * is_new)
pt::Space & SessionData::GetNewSpace(long id, SpaceMap & space_map, bool * is_new)
{
std::pair<SpaceMap::iterator, bool> res = space_map.insert( std::make_pair(id, SpacePair()) );