diff options
Diffstat (limited to 'src/Core')
33 files changed, 33 insertions, 33 deletions
diff --git a/src/Core/Core.h b/src/Core/Core.h index 37bbb986..5f218775 100644 --- a/src/Core/Core.h +++ b/src/Core/Core.h @@ -11,7 +11,7 @@ #include "CoreBase.h" -namespace TrueCrypt +namespace VeraCrypt { extern auto_ptr <CoreBase> Core; extern auto_ptr <CoreBase> CoreDirect; diff --git a/src/Core/CoreBase.cpp b/src/Core/CoreBase.cpp index b615b7ff..038640ca 100644 --- a/src/Core/CoreBase.cpp +++ b/src/Core/CoreBase.cpp @@ -12,7 +12,7 @@ #include "RandomNumberGenerator.h" #include "Volume/Volume.h" -namespace TrueCrypt +namespace VeraCrypt { CoreBase::CoreBase () : DeviceChangeInProgress (false) diff --git a/src/Core/CoreBase.h b/src/Core/CoreBase.h index d99420ab..90a52dbe 100644 --- a/src/Core/CoreBase.h +++ b/src/Core/CoreBase.h @@ -21,7 +21,7 @@ #include "HostDevice.h" #include "MountOptions.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreBase { diff --git a/src/Core/CoreException.cpp b/src/Core/CoreException.cpp index da939a8d..328e88bc 100644 --- a/src/Core/CoreException.cpp +++ b/src/Core/CoreException.cpp @@ -9,7 +9,7 @@ #include "CoreException.h" #include "Platform/SerializerFactory.h" -namespace TrueCrypt +namespace VeraCrypt { void ElevationFailed::Deserialize (shared_ptr <Stream> stream) { diff --git a/src/Core/CoreException.h b/src/Core/CoreException.h index 40ffbcea..e04bc4a6 100644 --- a/src/Core/CoreException.h +++ b/src/Core/CoreException.h @@ -11,7 +11,7 @@ #include "Platform/Platform.h" -namespace TrueCrypt +namespace VeraCrypt { struct ElevationFailed : public ExecutedProcessFailed { diff --git a/src/Core/FatFormatter.cpp b/src/Core/FatFormatter.cpp index ba69df61..8e17b166 100644 --- a/src/Core/FatFormatter.cpp +++ b/src/Core/FatFormatter.cpp @@ -15,7 +15,7 @@ #include "FatFormatter.h" #include "RandomNumberGenerator.h" -namespace TrueCrypt +namespace VeraCrypt { struct fatparams { diff --git a/src/Core/FatFormatter.h b/src/Core/FatFormatter.h index 47702190..726e3c55 100644 --- a/src/Core/FatFormatter.h +++ b/src/Core/FatFormatter.h @@ -11,7 +11,7 @@ #include "Platform/Platform.h" -namespace TrueCrypt +namespace VeraCrypt { class FatFormatter { diff --git a/src/Core/HostDevice.cpp b/src/Core/HostDevice.cpp index 0147d568..60fbcd31 100644 --- a/src/Core/HostDevice.cpp +++ b/src/Core/HostDevice.cpp @@ -9,7 +9,7 @@ #include "HostDevice.h" #include "Platform/SerializerFactory.h" -namespace TrueCrypt +namespace VeraCrypt { void HostDevice::Deserialize (shared_ptr <Stream> stream) { diff --git a/src/Core/HostDevice.h b/src/Core/HostDevice.h index 227dc241..5cde6ec0 100644 --- a/src/Core/HostDevice.h +++ b/src/Core/HostDevice.h @@ -12,7 +12,7 @@ #include "Platform/Platform.h" #include "Platform/Serializable.h" -namespace TrueCrypt +namespace VeraCrypt { struct HostDevice; typedef list < shared_ptr <HostDevice> > HostDeviceList; diff --git a/src/Core/MountOptions.cpp b/src/Core/MountOptions.cpp index 04187311..a09879d8 100644 --- a/src/Core/MountOptions.cpp +++ b/src/Core/MountOptions.cpp @@ -10,7 +10,7 @@ #include "Platform/MemoryStream.h" #include "Platform/SerializerFactory.h" -namespace TrueCrypt +namespace VeraCrypt { void MountOptions::CopyFrom (const MountOptions &other) { diff --git a/src/Core/MountOptions.h b/src/Core/MountOptions.h index 23fc7ca2..12aa03d5 100644 --- a/src/Core/MountOptions.h +++ b/src/Core/MountOptions.h @@ -15,7 +15,7 @@ #include "Volume/VolumeSlot.h" #include "Volume/VolumePassword.h" -namespace TrueCrypt +namespace VeraCrypt { struct MountOptions : public Serializable { diff --git a/src/Core/RandomNumberGenerator.cpp b/src/Core/RandomNumberGenerator.cpp index a010e7c6..ab3aad6b 100644 --- a/src/Core/RandomNumberGenerator.cpp +++ b/src/Core/RandomNumberGenerator.cpp @@ -15,7 +15,7 @@ #include "RandomNumberGenerator.h" #include "Volume/Crc32.h" -namespace TrueCrypt +namespace VeraCrypt { void RandomNumberGenerator::AddSystemDataToPool (bool fast) { diff --git a/src/Core/RandomNumberGenerator.h b/src/Core/RandomNumberGenerator.h index fb3a6917..2c7587c9 100644 --- a/src/Core/RandomNumberGenerator.h +++ b/src/Core/RandomNumberGenerator.h @@ -13,7 +13,7 @@ #include "Volume/Hash.h" #include "Common/Random.h" -namespace TrueCrypt +namespace VeraCrypt { class RandomNumberGenerator { diff --git a/src/Core/Unix/CoreService.cpp b/src/Core/Unix/CoreService.cpp index 9d2fd2a4..53592c0a 100644 --- a/src/Core/Unix/CoreService.cpp +++ b/src/Core/Unix/CoreService.cpp @@ -20,7 +20,7 @@ #include "CoreServiceRequest.h" #include "CoreServiceResponse.h" -namespace TrueCrypt +namespace VeraCrypt { template <class T> auto_ptr <T> CoreService::GetResponse () diff --git a/src/Core/Unix/CoreService.h b/src/Core/Unix/CoreService.h index 9702dc7e..f752fc94 100644 --- a/src/Core/Unix/CoreService.h +++ b/src/Core/Unix/CoreService.h @@ -14,7 +14,7 @@ #include "Platform/Unix/Pipe.h" #include "Core/Core.h" -namespace TrueCrypt +namespace VeraCrypt { // This service facilitates process forking and elevation of user privileges class CoreService diff --git a/src/Core/Unix/CoreServiceProxy.h b/src/Core/Unix/CoreServiceProxy.h index 2a264617..3a65bc00 100644 --- a/src/Core/Unix/CoreServiceProxy.h +++ b/src/Core/Unix/CoreServiceProxy.h @@ -12,7 +12,7 @@ #include "CoreService.h" #include "Volume/VolumePasswordCache.h" -namespace TrueCrypt +namespace VeraCrypt { template <class T> class CoreServiceProxy : public T diff --git a/src/Core/Unix/CoreServiceRequest.cpp b/src/Core/Unix/CoreServiceRequest.cpp index 49ee8418..15711055 100644 --- a/src/Core/Unix/CoreServiceRequest.cpp +++ b/src/Core/Unix/CoreServiceRequest.cpp @@ -10,7 +10,7 @@ #include "CoreServiceRequest.h" #include "Platform/SerializerFactory.h" -namespace TrueCrypt +namespace VeraCrypt { void CoreServiceRequest::Deserialize (shared_ptr <Stream> stream) { diff --git a/src/Core/Unix/CoreServiceRequest.h b/src/Core/Unix/CoreServiceRequest.h index 030ac81b..583d1058 100644 --- a/src/Core/Unix/CoreServiceRequest.h +++ b/src/Core/Unix/CoreServiceRequest.h @@ -12,7 +12,7 @@ #include "Platform/Serializable.h" #include "Core/Core.h" -namespace TrueCrypt +namespace VeraCrypt { struct CoreServiceRequest : public Serializable { diff --git a/src/Core/Unix/CoreServiceResponse.cpp b/src/Core/Unix/CoreServiceResponse.cpp index 7809b448..3f69c4bd 100644 --- a/src/Core/Unix/CoreServiceResponse.cpp +++ b/src/Core/Unix/CoreServiceResponse.cpp @@ -9,7 +9,7 @@ #include "CoreServiceResponse.h" #include "Platform/SerializerFactory.h" -namespace TrueCrypt +namespace VeraCrypt { // CheckFilesystemResponse void CheckFilesystemResponse::Deserialize (shared_ptr <Stream> stream) diff --git a/src/Core/Unix/CoreServiceResponse.h b/src/Core/Unix/CoreServiceResponse.h index 24c09b35..458b309f 100644 --- a/src/Core/Unix/CoreServiceResponse.h +++ b/src/Core/Unix/CoreServiceResponse.h @@ -12,7 +12,7 @@ #include "Platform/Serializable.h" #include "Core/Core.h" -namespace TrueCrypt +namespace VeraCrypt { struct CoreServiceResponse : public Serializable { diff --git a/src/Core/Unix/CoreUnix.cpp b/src/Core/Unix/CoreUnix.cpp index 975c8401..15a96297 100644 --- a/src/Core/Unix/CoreUnix.cpp +++ b/src/Core/Unix/CoreUnix.cpp @@ -18,7 +18,7 @@ #include "Driver/Fuse/FuseService.h" #include "Volume/VolumePasswordCache.h" -namespace TrueCrypt +namespace VeraCrypt { CoreUnix::CoreUnix () { diff --git a/src/Core/Unix/CoreUnix.h b/src/Core/Unix/CoreUnix.h index b8e4cc54..08bf3395 100644 --- a/src/Core/Unix/CoreUnix.h +++ b/src/Core/Unix/CoreUnix.h @@ -14,7 +14,7 @@ #include "Core/CoreBase.h" #include "Core/Unix/MountedFilesystem.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreUnix : public CoreBase { diff --git a/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp b/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp index e0a4dd5f..a160415b 100644 --- a/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp +++ b/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp @@ -16,7 +16,7 @@ #include "CoreFreeBSD.h" #include "Core/Unix/CoreServiceProxy.h" -namespace TrueCrypt +namespace VeraCrypt { CoreFreeBSD::CoreFreeBSD () { diff --git a/src/Core/Unix/FreeBSD/CoreFreeBSD.h b/src/Core/Unix/FreeBSD/CoreFreeBSD.h index a8230334..4c1eaa77 100644 --- a/src/Core/Unix/FreeBSD/CoreFreeBSD.h +++ b/src/Core/Unix/FreeBSD/CoreFreeBSD.h @@ -12,7 +12,7 @@ #include "System.h" #include "Core/Unix/CoreUnix.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreFreeBSD : public CoreUnix { diff --git a/src/Core/Unix/Linux/CoreLinux.cpp b/src/Core/Unix/Linux/CoreLinux.cpp index 777ccb77..4170cdfe 100644 --- a/src/Core/Unix/Linux/CoreLinux.cpp +++ b/src/Core/Unix/Linux/CoreLinux.cpp @@ -22,7 +22,7 @@ #include "Driver/Fuse/FuseService.h" #include "Core/Unix/CoreServiceProxy.h" -namespace TrueCrypt +namespace VeraCrypt { CoreLinux::CoreLinux () { diff --git a/src/Core/Unix/Linux/CoreLinux.h b/src/Core/Unix/Linux/CoreLinux.h index 5758d651..54c40d5b 100644 --- a/src/Core/Unix/Linux/CoreLinux.h +++ b/src/Core/Unix/Linux/CoreLinux.h @@ -12,7 +12,7 @@ #include "System.h" #include "Core/Unix/CoreUnix.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreLinux : public CoreUnix { diff --git a/src/Core/Unix/MacOSX/CoreMacOSX.cpp b/src/Core/Unix/MacOSX/CoreMacOSX.cpp index b7aa08c7..4f2baea6 100644 --- a/src/Core/Unix/MacOSX/CoreMacOSX.cpp +++ b/src/Core/Unix/MacOSX/CoreMacOSX.cpp @@ -19,7 +19,7 @@ #include "Driver/Fuse/FuseService.h" #include "Core/Unix/CoreServiceProxy.h" -namespace TrueCrypt +namespace VeraCrypt { CoreMacOSX::CoreMacOSX () { diff --git a/src/Core/Unix/MacOSX/CoreMacOSX.h b/src/Core/Unix/MacOSX/CoreMacOSX.h index 37ebd1d6..179c458e 100644 --- a/src/Core/Unix/MacOSX/CoreMacOSX.h +++ b/src/Core/Unix/MacOSX/CoreMacOSX.h @@ -12,7 +12,7 @@ #include "System.h" #include "Core/Unix/FreeBSD/CoreFreeBSD.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreMacOSX : public CoreFreeBSD { diff --git a/src/Core/Unix/MountedFilesystem.h b/src/Core/Unix/MountedFilesystem.h index 6e704d3c..c6c10ae9 100644 --- a/src/Core/Unix/MountedFilesystem.h +++ b/src/Core/Unix/MountedFilesystem.h @@ -11,7 +11,7 @@ #include "Platform/Platform.h" -namespace TrueCrypt +namespace VeraCrypt { struct MountedFilesystem { diff --git a/src/Core/Unix/Solaris/CoreSolaris.cpp b/src/Core/Unix/Solaris/CoreSolaris.cpp index 63736db3..25fb537d 100644 --- a/src/Core/Unix/Solaris/CoreSolaris.cpp +++ b/src/Core/Unix/Solaris/CoreSolaris.cpp @@ -15,7 +15,7 @@ #include "CoreSolaris.h" #include "Core/Unix/CoreServiceProxy.h" -namespace TrueCrypt +namespace VeraCrypt { CoreSolaris::CoreSolaris () { diff --git a/src/Core/Unix/Solaris/CoreSolaris.h b/src/Core/Unix/Solaris/CoreSolaris.h index 76dd1945..1e6cd1f3 100644 --- a/src/Core/Unix/Solaris/CoreSolaris.h +++ b/src/Core/Unix/Solaris/CoreSolaris.h @@ -12,7 +12,7 @@ #include "System.h" #include "Core/Unix/CoreUnix.h" -namespace TrueCrypt +namespace VeraCrypt { class CoreSolaris : public CoreUnix { diff --git a/src/Core/VolumeCreator.cpp b/src/Core/VolumeCreator.cpp index 6011efd0..e9c764a0 100644 --- a/src/Core/VolumeCreator.cpp +++ b/src/Core/VolumeCreator.cpp @@ -19,7 +19,7 @@ #include "VolumeCreator.h" #include "FatFormatter.h" -namespace TrueCrypt +namespace VeraCrypt { VolumeCreator::VolumeCreator () : SizeDone (0) diff --git a/src/Core/VolumeCreator.h b/src/Core/VolumeCreator.h index 4e8cf61e..74641d58 100644 --- a/src/Core/VolumeCreator.h +++ b/src/Core/VolumeCreator.h @@ -13,7 +13,7 @@ #include "Volume/Volume.h" #include "RandomNumberGenerator.h" -namespace TrueCrypt +namespace VeraCrypt { struct VolumeCreationOptions |