1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Files
winscp/source/components/IEDriveInfo.h
Martin Prikryl c562d3d4c4 Getting rid of TDictionary as it crashes 64-bit linker
https://winscp.net/tracker/1016

Source commit: 02d79c8672c60c572c9b722a93dea8b5030ea1fe
2025-12-23 17:40:36 +01:00

27 lines
1022 B
C++

//---------------------------------------------------------------------------
#ifndef IEDriveInfoH
#define IEDriveInfoH
//---------------------------------------------------------------------------
#include "IEDriveInfoInt.hpp"
#include <map>
//---------------------------------------------------------------------------
class TDriveInfo : public TDriveInfoInt
{
public:
__fastcall TDriveInfo();
protected:
virtual TDriveInfoRec * __fastcall AddDrive(UnicodeString Drive);
virtual TDriveInfoRec * __fastcall GetInternal(UnicodeString Drive);
virtual TDriveInfoRec * __fastcall Get(UnicodeString Drive);
virtual void __fastcall DriveRemoving(THandle DeviceHandle);
virtual void __fastcall UpdateDrivesNotifications();
private:
std::map<UnicodeString, std::unique_ptr<TDriveInfoRec>> FData;
};
//---------------------------------------------------------------------------
void DriveInfoRequire();
//---------------------------------------------------------------------------
#endif