[CABMAN] Replace some dynamically allocated strings with std::string

CORE-17231
This commit is contained in:
Mark Jansen 2020-08-30 15:31:04 +02:00
parent 58092fb4da
commit 7394d12f7e
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
9 changed files with 204 additions and 275 deletions

View file

@ -31,11 +31,14 @@ private:
bool CreateCabinet();
bool DisplayCabinet();
bool ExtractFromCabinet();
/* Event handlers */
virtual bool OnOverwrite(PCFFILE File, char* FileName);
virtual void OnExtract(PCFFILE File, char* FileName);
virtual void OnDiskChange(char* CabinetName, char* DiskLabel);
virtual void OnAdd(PCFFILE Entry, char* FileName);
virtual bool OnOverwrite(PCFFILE File, const char* FileName) override;
virtual void OnExtract(PCFFILE File, const char* FileName) override;
virtual void OnDiskChange(const char* CabinetName, const char* DiskLabel) override;
virtual void OnAdd(PCFFILE Entry, const char* FileName) override;
virtual void OnVerboseMessage(const char* Message) override;
/* Configuration */
bool ProcessAll;
ULONG Mode;
@ -44,6 +47,5 @@ private:
bool Verbose;
};
extern CCABManager CABMgr;
/* EOF */