From c178e325b807258199ae45b2c50c265b4d7ce7af Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 30 Dec 2014 17:01:49 +0100 Subject: Linux/MacOSX: Implement TrueCrypt conversion and loading support. Correct many GTK issues linked to multi-threaded origine of events by implementing an automatic mechanism for handling such requests in the main thread. --- src/Volume/VolumeInfo.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Volume/VolumeInfo.cpp') diff --git a/src/Volume/VolumeInfo.cpp b/src/Volume/VolumeInfo.cpp index 49a2b3e9..33e0fd6f 100644 --- a/src/Volume/VolumeInfo.cpp +++ b/src/Volume/VolumeInfo.cpp @@ -50,6 +50,7 @@ namespace VeraCrypt Type = static_cast (sr.DeserializeInt32 ("Type")); VirtualDevice = sr.DeserializeWString ("VirtualDevice"); sr.Deserialize ("VolumeCreationTime", VolumeCreationTime); + sr.Deserialize ("TrueCryptMode", TrueCryptMode); } bool VolumeInfo::FirstVolumeMountedAfterSecond (shared_ptr first, shared_ptr second) @@ -89,6 +90,7 @@ namespace VeraCrypt sr.Serialize ("Type", static_cast (Type)); sr.Serialize ("VirtualDevice", wstring (VirtualDevice)); sr.Serialize ("VolumeCreationTime", VolumeCreationTime); + sr.Serialize ("TrueCryptMode", TrueCryptMode); } void VolumeInfo::Set (const Volume &volume) @@ -112,6 +114,7 @@ namespace VeraCrypt TopWriteOffset = volume.GetTopWriteOffset(); TotalDataRead = volume.GetTotalDataRead(); TotalDataWritten = volume.GetTotalDataWritten(); + TrueCryptMode = volume.GetTrueCryptMode(); } TC_SERIALIZER_FACTORY_ADD_CLASS (VolumeInfo); -- cgit v1.2.3