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

@@ -58,8 +58,8 @@ struct SessionData : public PluginDataBase
struct SpacePair
{
PT::Space new_space;
PT::Space old_space;
pt::Space new_space;
pt::Space old_space;
// old_space is used when editing an existing ticket
// current ticket space is copied to old_space
@@ -95,8 +95,8 @@ struct SessionData : public PluginDataBase
Ticket & GetTicket(long id, TicketMap & ticket_map, bool * is_new = 0);
// inserting and returning a new/old space or just returning the space if it exists
PT::Space & GetOldSpace(long id, SpaceMap & space_map, bool * is_new = 0);
PT::Space & GetNewSpace(long id, SpaceMap & space_map, bool * is_new = 0);
pt::Space & GetOldSpace(long id, SpaceMap & space_map, bool * is_new = 0);
pt::Space & GetNewSpace(long id, SpaceMap & space_map, bool * is_new = 0);
// for deleting files
Fun::Rm * fun_rm;
@@ -104,11 +104,11 @@ struct SessionData : public PluginDataBase
private:
void RemoveFiles(SpaceMap & space_map, bool only_stale_files);
void RemoveAllFiles(PT::Space & new_space);
void RemoveAllStaleFiles(PT::Space & new_space, PT::Space & old_space);
void RemoveAllFiles(pt::Space & new_space);
void RemoveAllStaleFiles(pt::Space & new_space, pt::Space & old_space);
void BuildFileList(std::vector<long> & file_tab, PT::Space & space);
void CheckFile(std::vector<long> & file_tab, PT::Space & space);
void BuildFileList(std::vector<long> & file_tab, pt::Space & space);
void CheckFile(std::vector<long> & file_tab, pt::Space & space);
};