VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-22 14:02:42 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:20:14 (GMT)
commit41a22ca4e78df752d4ce143a692310ab9e48c686 (patch)
tree7167af89d885e032926cb79981fd981f7b685962 /src/Platform
parent17823cb58c5c68e5d1cf8cc6e9d92d0ce6194d8d (diff)
downloadVeraCrypt-41a22ca4e78df752d4ce143a692310ab9e48c686.zip
VeraCrypt-41a22ca4e78df752d4ce143a692310ab9e48c686.tar.gz
Change namespace from TrueCrypt to VeraCrypt. Rename method from Resources Resources::GetTrueCryptIcon to Resources::GetVeraCryptIcon.
Diffstat (limited to 'src/Platform')
-rw-r--r--src/Platform/Buffer.cpp2
-rw-r--r--src/Platform/Buffer.h2
-rw-r--r--src/Platform/Directory.h2
-rw-r--r--src/Platform/Event.cpp2
-rw-r--r--src/Platform/Event.h2
-rw-r--r--src/Platform/Exception.cpp2
-rw-r--r--src/Platform/Exception.h2
-rw-r--r--src/Platform/File.h2
-rw-r--r--src/Platform/FileCommon.cpp2
-rw-r--r--src/Platform/FileStream.h2
-rw-r--r--src/Platform/FilesystemPath.h2
-rw-r--r--src/Platform/ForEach.h2
-rw-r--r--src/Platform/Functor.h2
-rw-r--r--src/Platform/Memory.cpp2
-rw-r--r--src/Platform/Memory.h2
-rw-r--r--src/Platform/MemoryStream.cpp2
-rw-r--r--src/Platform/MemoryStream.h2
-rw-r--r--src/Platform/Mutex.h2
-rw-r--r--src/Platform/PlatformBase.h2
-rw-r--r--src/Platform/PlatformTest.cpp2
-rw-r--r--src/Platform/PlatformTest.h2
-rw-r--r--src/Platform/Serializable.cpp2
-rw-r--r--src/Platform/Serializable.h2
-rw-r--r--src/Platform/Serializer.cpp2
-rw-r--r--src/Platform/Serializer.h2
-rw-r--r--src/Platform/SerializerFactory.cpp2
-rw-r--r--src/Platform/SerializerFactory.h2
-rw-r--r--src/Platform/SharedPtr.h6
-rw-r--r--src/Platform/SharedVal.h2
-rw-r--r--src/Platform/Stream.h2
-rw-r--r--src/Platform/StringConverter.cpp2
-rw-r--r--src/Platform/StringConverter.h2
-rw-r--r--src/Platform/SyncEvent.h2
-rw-r--r--src/Platform/SystemException.h2
-rw-r--r--src/Platform/SystemInfo.h2
-rw-r--r--src/Platform/SystemLog.h2
-rw-r--r--src/Platform/TextReader.cpp2
-rw-r--r--src/Platform/TextReader.h2
-rw-r--r--src/Platform/Thread.h2
-rw-r--r--src/Platform/Time.h2
-rw-r--r--src/Platform/Unix/Directory.cpp2
-rw-r--r--src/Platform/Unix/File.cpp2
-rw-r--r--src/Platform/Unix/FilesystemPath.cpp2
-rw-r--r--src/Platform/Unix/Mutex.cpp2
-rw-r--r--src/Platform/Unix/Pipe.cpp2
-rw-r--r--src/Platform/Unix/Pipe.h2
-rw-r--r--src/Platform/Unix/Poller.cpp2
-rw-r--r--src/Platform/Unix/Poller.h2
-rw-r--r--src/Platform/Unix/Process.cpp2
-rw-r--r--src/Platform/Unix/Process.h2
-rw-r--r--src/Platform/Unix/SyncEvent.cpp2
-rw-r--r--src/Platform/Unix/SystemException.cpp2
-rw-r--r--src/Platform/Unix/SystemInfo.cpp2
-rw-r--r--src/Platform/Unix/SystemLog.cpp2
-rw-r--r--src/Platform/Unix/Thread.cpp2
-rw-r--r--src/Platform/Unix/Time.cpp2
-rw-r--r--src/Platform/User.h2
57 files changed, 59 insertions, 59 deletions
diff --git a/src/Platform/Buffer.cpp b/src/Platform/Buffer.cpp
index 17dbb7a..292f459 100644
--- a/src/Platform/Buffer.cpp
+++ b/src/Platform/Buffer.cpp
@@ -9,7 +9,7 @@
#include "Buffer.h"
#include "Exception.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
Buffer::Buffer () : DataPtr (nullptr), DataSize (0)
{
diff --git a/src/Platform/Buffer.h b/src/Platform/Buffer.h
index d497201..24478a6 100644
--- a/src/Platform/Buffer.h
+++ b/src/Platform/Buffer.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Memory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class ConstBufferPtr
diff --git a/src/Platform/Directory.h b/src/Platform/Directory.h
index b2eb802..fc2938a 100644
--- a/src/Platform/Directory.h
+++ b/src/Platform/Directory.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "FilesystemPath.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Directory
{
diff --git a/src/Platform/Event.cpp b/src/Platform/Event.cpp
index 662ca47..b2ea358 100644
--- a/src/Platform/Event.cpp
+++ b/src/Platform/Event.cpp
@@ -8,7 +8,7 @@
#include "Event.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void Event::Connect (const EventConnectorBase &connector)
{
diff --git a/src/Platform/Event.h b/src/Platform/Event.h
index de85a4b..fcc16ef 100644
--- a/src/Platform/Event.h
+++ b/src/Platform/Event.h
@@ -14,7 +14,7 @@
#include "Mutex.h"
#include "SharedPtr.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
struct EventArgs
{
diff --git a/src/Platform/Exception.cpp b/src/Platform/Exception.cpp
index 13b09ac..7d32311 100644
--- a/src/Platform/Exception.cpp
+++ b/src/Platform/Exception.cpp
@@ -9,7 +9,7 @@
#include "Exception.h"
#include "SerializerFactory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void Exception::Deserialize (shared_ptr <Stream> stream)
{
diff --git a/src/Platform/Exception.h b/src/Platform/Exception.h
index 8e52b45..19d6523 100644
--- a/src/Platform/Exception.h
+++ b/src/Platform/Exception.h
@@ -13,7 +13,7 @@
#include "PlatformBase.h"
#include "Serializable.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
#define TC_SERIALIZABLE_EXCEPTION(TYPE) TC_SERIALIZABLE (TYPE); \
virtual Exception *CloneNew () { return new TYPE (*this); } \
diff --git a/src/Platform/File.h b/src/Platform/File.h
index ef9a5c8..6fba968 100644
--- a/src/Platform/File.h
+++ b/src/Platform/File.h
@@ -14,7 +14,7 @@
#include "FilesystemPath.h"
#include "SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class File
{
diff --git a/src/Platform/FileCommon.cpp b/src/Platform/FileCommon.cpp
index d76e5c1..e63e55c 100644
--- a/src/Platform/FileCommon.cpp
+++ b/src/Platform/FileCommon.cpp
@@ -14,7 +14,7 @@
#include <utime.h>
#endif
-namespace TrueCrypt
+namespace VeraCrypt
{
File::~File ()
{
diff --git a/src/Platform/FileStream.h b/src/Platform/FileStream.h
index 1fe6b2f..7770dd7 100644
--- a/src/Platform/FileStream.h
+++ b/src/Platform/FileStream.h
@@ -14,7 +14,7 @@
#include "SharedPtr.h"
#include "Stream.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class FileStream : public Stream
{
diff --git a/src/Platform/FilesystemPath.h b/src/Platform/FilesystemPath.h
index 2c85d2c..24ed5dd 100644
--- a/src/Platform/FilesystemPath.h
+++ b/src/Platform/FilesystemPath.h
@@ -14,7 +14,7 @@
#include "SharedPtr.h"
#include "StringConverter.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
struct FilesystemPathType
{
diff --git a/src/Platform/ForEach.h b/src/Platform/ForEach.h
index 786ff56..209d277 100644
--- a/src/Platform/ForEach.h
+++ b/src/Platform/ForEach.h
@@ -9,7 +9,7 @@
#ifndef TC_HEADER_Platform_ForEach
#define TC_HEADER_Platform_ForEach
-namespace TrueCrypt
+namespace VeraCrypt
{
class ForEach
{
diff --git a/src/Platform/Functor.h b/src/Platform/Functor.h
index 6840b3a..65d8d74 100644
--- a/src/Platform/Functor.h
+++ b/src/Platform/Functor.h
@@ -11,7 +11,7 @@
#include "PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
struct Functor
{
diff --git a/src/Platform/Memory.cpp b/src/Platform/Memory.cpp
index 3a03246..c75c18c 100644
--- a/src/Platform/Memory.cpp
+++ b/src/Platform/Memory.cpp
@@ -10,7 +10,7 @@
#include "Memory.h"
#include "Exception.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void *Memory::Allocate (std::size_t size)
{
diff --git a/src/Platform/Memory.h b/src/Platform/Memory.h
index 3a17ba7..053a138 100644
--- a/src/Platform/Memory.h
+++ b/src/Platform/Memory.h
@@ -63,7 +63,7 @@
# error Unsupported byte ordering detected.
#endif
-namespace TrueCrypt
+namespace VeraCrypt
{
class Memory
{
diff --git a/src/Platform/MemoryStream.cpp b/src/Platform/MemoryStream.cpp
index 42d3842..0aba4ab 100644
--- a/src/Platform/MemoryStream.cpp
+++ b/src/Platform/MemoryStream.cpp
@@ -9,7 +9,7 @@
#include "Exception.h"
#include "MemoryStream.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
MemoryStream::MemoryStream (const ConstBufferPtr &data) :
ReadPosition (0)
diff --git a/src/Platform/MemoryStream.h b/src/Platform/MemoryStream.h
index 30e2640..61b8acf 100644
--- a/src/Platform/MemoryStream.h
+++ b/src/Platform/MemoryStream.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Stream.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class MemoryStream : public Stream
{
diff --git a/src/Platform/Mutex.h b/src/Platform/Mutex.h
index bdeef26..c2bf146 100644
--- a/src/Platform/Mutex.h
+++ b/src/Platform/Mutex.h
@@ -16,7 +16,7 @@
#endif
#include "PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Mutex
{
diff --git a/src/Platform/PlatformBase.h b/src/Platform/PlatformBase.h
index c63f975..ea1271f 100644
--- a/src/Platform/PlatformBase.h
+++ b/src/Platform/PlatformBase.h
@@ -31,7 +31,7 @@ using namespace std;
#define nullptr 0
#endif
-namespace TrueCrypt
+namespace VeraCrypt
{
#ifdef _MSC_VER
# ifndef TC_INT_TYPES_DEFINED
diff --git a/src/Platform/PlatformTest.cpp b/src/Platform/PlatformTest.cpp
index 83febe4..a541c14 100644
--- a/src/Platform/PlatformTest.cpp
+++ b/src/Platform/PlatformTest.cpp
@@ -20,7 +20,7 @@
#include "Thread.h"
#include "Common/Tcdefs.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
// make_shared_auto, File, Stream, MemoryStream, Endian, Serializer, Serializable
void PlatformTest::SerializerTest ()
diff --git a/src/Platform/PlatformTest.h b/src/Platform/PlatformTest.h
index 9ca842e..01b56e0 100644
--- a/src/Platform/PlatformTest.h
+++ b/src/Platform/PlatformTest.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Thread.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class PlatformTest
{
diff --git a/src/Platform/Serializable.cpp b/src/Platform/Serializable.cpp
index 8e3ef58..7a19b81 100644
--- a/src/Platform/Serializable.cpp
+++ b/src/Platform/Serializable.cpp
@@ -9,7 +9,7 @@
#include "Serializable.h"
#include "SerializerFactory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
string Serializable::DeserializeHeader (shared_ptr <Stream> stream)
{
diff --git a/src/Platform/Serializable.h b/src/Platform/Serializable.h
index 5078754..06d7a76 100644
--- a/src/Platform/Serializable.h
+++ b/src/Platform/Serializable.h
@@ -15,7 +15,7 @@
#include "Serializer.h"
#include "SerializerFactory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Serializable
{
diff --git a/src/Platform/Serializer.cpp b/src/Platform/Serializer.cpp
index cd41b3c..96c04ca 100644
--- a/src/Platform/Serializer.cpp
+++ b/src/Platform/Serializer.cpp
@@ -11,7 +11,7 @@
#include "Memory.h"
#include "Serializer.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
template <typename T>
T Serializer::Deserialize ()
diff --git a/src/Platform/Serializer.h b/src/Platform/Serializer.h
index 7152134..3ede04e 100644
--- a/src/Platform/Serializer.h
+++ b/src/Platform/Serializer.h
@@ -14,7 +14,7 @@
#include "SharedPtr.h"
#include "Stream.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Serializer
{
diff --git a/src/Platform/SerializerFactory.cpp b/src/Platform/SerializerFactory.cpp
index 1aae92d..3174c38 100644
--- a/src/Platform/SerializerFactory.cpp
+++ b/src/Platform/SerializerFactory.cpp
@@ -9,7 +9,7 @@
#include <stdexcept>
#include "SerializerFactory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void SerializerFactory::Deinitialize ()
{
diff --git a/src/Platform/SerializerFactory.h b/src/Platform/SerializerFactory.h
index bad68d3..a04565b 100644
--- a/src/Platform/SerializerFactory.h
+++ b/src/Platform/SerializerFactory.h
@@ -13,7 +13,7 @@
#include "PlatformBase.h"
#include "StringConverter.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Serializable;
diff --git a/src/Platform/SharedPtr.h b/src/Platform/SharedPtr.h
index 3221265..64e2909 100644
--- a/src/Platform/SharedPtr.h
+++ b/src/Platform/SharedPtr.h
@@ -14,7 +14,7 @@
#ifdef nullptr
-namespace TrueCrypt
+namespace VeraCrypt
{
template <class T>
class SharedPtr
@@ -135,7 +135,7 @@ namespace TrueCrypt
#ifdef shared_ptr
#undef shared_ptr
#endif
-#define shared_ptr TrueCrypt::SharedPtr
+#define shared_ptr VeraCrypt::SharedPtr
#ifdef make_shared
#undef make_shared
@@ -151,7 +151,7 @@ namespace TrueCrypt
return shared_ptr <T> (new T (arg));
}
-#define make_shared TrueCrypt::make_shared
+#define make_shared VeraCrypt::make_shared
}
diff --git a/src/Platform/SharedVal.h b/src/Platform/SharedVal.h
index 64298f0..89b2a3e 100644
--- a/src/Platform/SharedVal.h
+++ b/src/Platform/SharedVal.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Mutex.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
template <class T>
class SharedVal
diff --git a/src/Platform/Stream.h b/src/Platform/Stream.h
index 338d0f5..f2d46d9 100644
--- a/src/Platform/Stream.h
+++ b/src/Platform/Stream.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Buffer.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Stream
{
diff --git a/src/Platform/StringConverter.cpp b/src/Platform/StringConverter.cpp
index 164a218..cbd89e1 100644
--- a/src/Platform/StringConverter.cpp
+++ b/src/Platform/StringConverter.cpp
@@ -17,7 +17,7 @@
#include "StringConverter.h"
#include "SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void StringConverter::Erase (string &str)
{
diff --git a/src/Platform/StringConverter.h b/src/Platform/StringConverter.h
index 5104778..9a9e098 100644
--- a/src/Platform/StringConverter.h
+++ b/src/Platform/StringConverter.h
@@ -12,7 +12,7 @@
#include <stdlib.h>
#include "PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class StringConverter
{
diff --git a/src/Platform/SyncEvent.h b/src/Platform/SyncEvent.h
index 30dcd41..e7a7890 100644
--- a/src/Platform/SyncEvent.h
+++ b/src/Platform/SyncEvent.h
@@ -17,7 +17,7 @@
#include "PlatformBase.h"
#include "Mutex.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class SyncEvent
{
diff --git a/src/Platform/SystemException.h b/src/Platform/SystemException.h
index 630703b..4a1dc2d 100644
--- a/src/Platform/SystemException.h
+++ b/src/Platform/SystemException.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Exception.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class SystemException : public Exception
{
diff --git a/src/Platform/SystemInfo.h b/src/Platform/SystemInfo.h
index e70137a..83f55fe 100644
--- a/src/Platform/SystemInfo.h
+++ b/src/Platform/SystemInfo.h
@@ -11,7 +11,7 @@
#include "PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class SystemInfo
{
diff --git a/src/Platform/SystemLog.h b/src/Platform/SystemLog.h
index 06d4536..3b72939 100644
--- a/src/Platform/SystemLog.h
+++ b/src/Platform/SystemLog.h
@@ -12,7 +12,7 @@
#include "Platform/PlatformBase.h"
#include "Platform/StringConverter.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class SystemLog
{
diff --git a/src/Platform/TextReader.cpp b/src/Platform/TextReader.cpp
index cc55db1..2606d1d 100644
--- a/src/Platform/TextReader.cpp
+++ b/src/Platform/TextReader.cpp
@@ -8,7 +8,7 @@
#include "TextReader.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
TextReader::TextReader (const FilePath &path)
{
diff --git a/src/Platform/TextReader.h b/src/Platform/TextReader.h
index a537907..9aad217 100644
--- a/src/Platform/TextReader.h
+++ b/src/Platform/TextReader.h
@@ -15,7 +15,7 @@
#include "SharedPtr.h"
#include "Stream.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class TextReader
{
diff --git a/src/Platform/Thread.h b/src/Platform/Thread.h
index 122d934..5d570d6 100644
--- a/src/Platform/Thread.h
+++ b/src/Platform/Thread.h
@@ -21,7 +21,7 @@
#include "SharedPtr.h"
#include "SyncEvent.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Thread
{
diff --git a/src/Platform/Time.h b/src/Platform/Time.h
index 2a17f9e..ca5d254 100644
--- a/src/Platform/Time.h
+++ b/src/Platform/Time.h
@@ -11,7 +11,7 @@
#include "PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Time
{
diff --git a/src/Platform/Unix/Directory.cpp b/src/Platform/Unix/Directory.cpp
index 0a0088a..163a817 100644
--- a/src/Platform/Unix/Directory.cpp
+++ b/src/Platform/Unix/Directory.cpp
@@ -15,7 +15,7 @@
#include "Platform/Finally.h"
#include "Platform/SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
static Mutex ReadDirMutex; // readdir_r() may be unsafe on some systems
diff --git a/src/Platform/Unix/File.cpp b/src/Platform/Unix/File.cpp
index fd64eb2..25475bb 100644
--- a/src/Platform/Unix/File.cpp
+++ b/src/Platform/Unix/File.cpp
@@ -31,7 +31,7 @@
#include "Platform/File.h"
#include "Platform/TextReader.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
#if 0
# define TC_TRACE_FILE_OPERATIONS
diff --git a/src/Platform/Unix/FilesystemPath.cpp b/src/Platform/Unix/FilesystemPath.cpp
index ef52fe8..66ae3db 100644
--- a/src/Platform/Unix/FilesystemPath.cpp
+++ b/src/Platform/Unix/FilesystemPath.cpp
@@ -12,7 +12,7 @@
#include <stdio.h>
#include <sys/stat.h>
-namespace TrueCrypt
+namespace VeraCrypt
{
void FilesystemPath::Delete () const
{
diff --git a/src/Platform/Unix/Mutex.cpp b/src/Platform/Unix/Mutex.cpp
index aae5d78..336dce3 100644
--- a/src/Platform/Unix/Mutex.cpp
+++ b/src/Platform/Unix/Mutex.cpp
@@ -10,7 +10,7 @@
#include "Platform/Mutex.h"
#include "Platform/SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
Mutex::Mutex ()
{
diff --git a/src/Platform/Unix/Pipe.cpp b/src/Platform/Unix/Pipe.cpp
index d346540..76d784b 100644
--- a/src/Platform/Unix/Pipe.cpp
+++ b/src/Platform/Unix/Pipe.cpp
@@ -10,7 +10,7 @@
#include "Pipe.h"
#include "Platform/SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
Pipe::Pipe ()
{
diff --git a/src/Platform/Unix/Pipe.h b/src/Platform/Unix/Pipe.h
index 9aa5bf9..198d324 100644
--- a/src/Platform/Unix/Pipe.h
+++ b/src/Platform/Unix/Pipe.h
@@ -11,7 +11,7 @@
#include "Platform/PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Pipe
{
diff --git a/src/Platform/Unix/Poller.cpp b/src/Platform/Unix/Poller.cpp
index 3950eab..3e82363 100644
--- a/src/Platform/Unix/Poller.cpp
+++ b/src/Platform/Unix/Poller.cpp
@@ -11,7 +11,7 @@
#include "Poller.h"
#include "Platform/SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
Poller::Poller (int fileDescriptor1, int fileDescriptor2, int fileDescriptor3, int fileDescriptor4)
{
diff --git a/src/Platform/Unix/Poller.h b/src/Platform/Unix/Poller.h
index 131e469..445e928 100644
--- a/src/Platform/Unix/Poller.h
+++ b/src/Platform/Unix/Poller.h
@@ -11,7 +11,7 @@
#include "Platform/PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Poller
{
diff --git a/src/Platform/Unix/Process.cpp b/src/Platform/Unix/Process.cpp
index d99dff8..c82461e 100644
--- a/src/Platform/Unix/Process.cpp
+++ b/src/Platform/Unix/Process.cpp
@@ -21,7 +21,7 @@
#include "Platform/Unix/Pipe.h"
#include "Platform/Unix/Poller.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
string Process::Execute (const string &processName, const list <string> &arguments, int timeOut, ProcessExecFunctor *execFunctor, const Buffer *inputData)
{
diff --git a/src/Platform/Unix/Process.h b/src/Platform/Unix/Process.h
index dd878dd..77d4d4e 100644
--- a/src/Platform/Unix/Process.h
+++ b/src/Platform/Unix/Process.h
@@ -13,7 +13,7 @@
#include "Platform/Buffer.h"
#include "Platform/Functor.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
struct ProcessExecFunctor
{
diff --git a/src/Platform/Unix/SyncEvent.cpp b/src/Platform/Unix/SyncEvent.cpp
index fbf8300..d58240e 100644
--- a/src/Platform/Unix/SyncEvent.cpp
+++ b/src/Platform/Unix/SyncEvent.cpp
@@ -10,7 +10,7 @@
#include "Platform/SyncEvent.h"
#include "Platform/SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
SyncEvent::SyncEvent ()
{
diff --git a/src/Platform/Unix/SystemException.cpp b/src/Platform/Unix/SystemException.cpp
index b29c9b5..7348914 100644
--- a/src/Platform/Unix/SystemException.cpp
+++ b/src/Platform/Unix/SystemException.cpp
@@ -12,7 +12,7 @@
#include "Platform/SystemException.h"
#include "Platform/StringConverter.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
SystemException::SystemException ()
: ErrorCode (errno)
diff --git a/src/Platform/Unix/SystemInfo.cpp b/src/Platform/Unix/SystemInfo.cpp
index d0ea6e6..41f6144 100644
--- a/src/Platform/Unix/SystemInfo.cpp
+++ b/src/Platform/Unix/SystemInfo.cpp
@@ -10,7 +10,7 @@
#include "Platform/SystemInfo.h"
#include <sys/utsname.h>
-namespace TrueCrypt
+namespace VeraCrypt
{
wstring SystemInfo::GetPlatformName ()
{
diff --git a/src/Platform/Unix/SystemLog.cpp b/src/Platform/Unix/SystemLog.cpp
index ee0e990..e598812 100644
--- a/src/Platform/Unix/SystemLog.cpp
+++ b/src/Platform/Unix/SystemLog.cpp
@@ -9,7 +9,7 @@
#include <syslog.h>
#include "Platform/SystemLog.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void SystemLog::WriteDebug (const string &debugMessage)
{
diff --git a/src/Platform/Unix/Thread.cpp b/src/Platform/Unix/Thread.cpp
index 7afe683..c216743 100644
--- a/src/Platform/Unix/Thread.cpp
+++ b/src/Platform/Unix/Thread.cpp
@@ -12,7 +12,7 @@
#include "Platform/Thread.h"
#include "Platform/SystemLog.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void Thread::Join () const
{
diff --git a/src/Platform/Unix/Time.cpp b/src/Platform/Unix/Time.cpp
index 01313d5..d4720c6 100644
--- a/src/Platform/Unix/Time.cpp
+++ b/src/Platform/Unix/Time.cpp
@@ -10,7 +10,7 @@
#include <sys/time.h>
#include <time.h>
-namespace TrueCrypt
+namespace VeraCrypt
{
uint64 Time::GetCurrent ()
{
diff --git a/src/Platform/User.h b/src/Platform/User.h
index d3aa976..8b983cc 100644
--- a/src/Platform/User.h
+++ b/src/Platform/User.h
@@ -16,7 +16,7 @@
#include <sys/types.h>
#endif
-namespace TrueCrypt
+namespace VeraCrypt
{
struct UserId
{