1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 11:28:26 -06:00

Change namespace from TrueCrypt to VeraCrypt. Rename method from Resources Resources::GetTrueCryptIcon to Resources::GetVeraCryptIcon.

This commit is contained in:
Mounir IDRASSI
2014-06-22 16:02:42 +02:00
parent 17823cb58c
commit 41a22ca4e7
239 changed files with 246 additions and 246 deletions

View File

@@ -9,7 +9,7 @@
#include "Buffer.h"
#include "Exception.h"
namespace TrueCrypt
namespace VeraCrypt
{
Buffer::Buffer () : DataPtr (nullptr), DataSize (0)
{

View File

@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Memory.h"
namespace TrueCrypt
namespace VeraCrypt
{
class ConstBufferPtr

View File

@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "FilesystemPath.h"
namespace TrueCrypt
namespace VeraCrypt
{
class Directory
{

View File

@@ -8,7 +8,7 @@
#include "Event.h"
namespace TrueCrypt
namespace VeraCrypt
{
void Event::Connect (const EventConnectorBase &connector)
{

View File

@@ -14,7 +14,7 @@
#include "Mutex.h"
#include "SharedPtr.h"
namespace TrueCrypt
namespace VeraCrypt
{
struct EventArgs
{

View File

@@ -9,7 +9,7 @@
#include "Exception.h"
#include "SerializerFactory.h"
namespace TrueCrypt
namespace VeraCrypt
{
void Exception::Deserialize (shared_ptr <Stream> stream)
{

View File

@@ -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); } \

View File

@@ -14,7 +14,7 @@
#include "FilesystemPath.h"
#include "SystemException.h"
namespace TrueCrypt
namespace VeraCrypt
{
class File
{

View File

@@ -14,7 +14,7 @@
#include <utime.h>
#endif
namespace TrueCrypt
namespace VeraCrypt
{
File::~File ()
{

View File

@@ -14,7 +14,7 @@
#include "SharedPtr.h"
#include "Stream.h"
namespace TrueCrypt
namespace VeraCrypt
{
class FileStream : public Stream
{

View File

@@ -14,7 +14,7 @@
#include "SharedPtr.h"
#include "StringConverter.h"
namespace TrueCrypt
namespace VeraCrypt
{
struct FilesystemPathType
{

View File

@@ -9,7 +9,7 @@
#ifndef TC_HEADER_Platform_ForEach
#define TC_HEADER_Platform_ForEach
namespace TrueCrypt
namespace VeraCrypt
{
class ForEach
{

View File

@@ -11,7 +11,7 @@
#include "PlatformBase.h"
namespace TrueCrypt
namespace VeraCrypt
{
struct Functor
{

View File

@@ -10,7 +10,7 @@
#include "Memory.h"
#include "Exception.h"
namespace TrueCrypt
namespace VeraCrypt
{
void *Memory::Allocate (std::size_t size)
{

View File

@@ -63,7 +63,7 @@
# error Unsupported byte ordering detected.
#endif
namespace TrueCrypt
namespace VeraCrypt
{
class Memory
{

View File

@@ -9,7 +9,7 @@
#include "Exception.h"
#include "MemoryStream.h"
namespace TrueCrypt
namespace VeraCrypt
{
MemoryStream::MemoryStream (const ConstBufferPtr &data) :
ReadPosition (0)

View File

@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Stream.h"
namespace TrueCrypt
namespace VeraCrypt
{
class MemoryStream : public Stream
{

View File

@@ -16,7 +16,7 @@
#endif
#include "PlatformBase.h"
namespace TrueCrypt
namespace VeraCrypt
{
class Mutex
{

View File

@@ -31,7 +31,7 @@ using namespace std;
#define nullptr 0
#endif
namespace TrueCrypt
namespace VeraCrypt
{
#ifdef _MSC_VER
# ifndef TC_INT_TYPES_DEFINED

View File

@@ -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 ()

View File

@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Thread.h"
namespace TrueCrypt
namespace VeraCrypt
{
class PlatformTest
{

View File

@@ -9,7 +9,7 @@
#include "Serializable.h"
#include "SerializerFactory.h"
namespace TrueCrypt
namespace VeraCrypt
{
string Serializable::DeserializeHeader (shared_ptr <Stream> stream)
{

View File

@@ -15,7 +15,7 @@
#include "Serializer.h"
#include "SerializerFactory.h"
namespace TrueCrypt
namespace VeraCrypt
{
class Serializable
{

View File

@@ -11,7 +11,7 @@
#include "Memory.h"
#include "Serializer.h"
namespace TrueCrypt
namespace VeraCrypt
{
template <typename T>
T Serializer::Deserialize ()

View File

@@ -14,7 +14,7 @@
#include "SharedPtr.h"
#include "Stream.h"
namespace TrueCrypt
namespace VeraCrypt
{
class Serializer
{

View File

@@ -9,7 +9,7 @@
#include <stdexcept>
#include "SerializerFactory.h"
namespace TrueCrypt
namespace VeraCrypt
{
void SerializerFactory::Deinitialize ()
{

View File

@@ -13,7 +13,7 @@
#include "PlatformBase.h"
#include "StringConverter.h"
namespace TrueCrypt
namespace VeraCrypt
{
class Serializable;

View File

@@ -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
}

View File

@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Mutex.h"
namespace TrueCrypt
namespace VeraCrypt
{
template <class T>
class SharedVal

View File

@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Buffer.h"
namespace TrueCrypt
namespace VeraCrypt
{
class Stream
{

View File

@@ -17,7 +17,7 @@
#include "StringConverter.h"
#include "SystemException.h"
namespace TrueCrypt
namespace VeraCrypt
{
void StringConverter::Erase (string &str)
{

View File

@@ -12,7 +12,7 @@
#include <stdlib.h>
#include "PlatformBase.h"
namespace TrueCrypt
namespace VeraCrypt
{
class StringConverter
{

View File

@@ -17,7 +17,7 @@
#include "PlatformBase.h"
#include "Mutex.h"
namespace TrueCrypt
namespace VeraCrypt
{
class SyncEvent
{

View File

@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Exception.h"
namespace TrueCrypt
namespace VeraCrypt
{
class SystemException : public Exception
{

View File

@@ -11,7 +11,7 @@
#include "PlatformBase.h"
namespace TrueCrypt
namespace VeraCrypt
{
class SystemInfo
{

View File

@@ -12,7 +12,7 @@
#include "Platform/PlatformBase.h"
#include "Platform/StringConverter.h"
namespace TrueCrypt
namespace VeraCrypt
{
class SystemLog
{

View File

@@ -8,7 +8,7 @@
#include "TextReader.h"
namespace TrueCrypt
namespace VeraCrypt
{
TextReader::TextReader (const FilePath &path)
{

View File

@@ -15,7 +15,7 @@
#include "SharedPtr.h"
#include "Stream.h"
namespace TrueCrypt
namespace VeraCrypt
{
class TextReader
{

View File

@@ -21,7 +21,7 @@
#include "SharedPtr.h"
#include "SyncEvent.h"
namespace TrueCrypt
namespace VeraCrypt
{
class Thread
{

View File

@@ -11,7 +11,7 @@
#include "PlatformBase.h"
namespace TrueCrypt
namespace VeraCrypt
{
class Time
{

View File

@@ -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

View File

@@ -31,7 +31,7 @@
#include "Platform/File.h"
#include "Platform/TextReader.h"
namespace TrueCrypt
namespace VeraCrypt
{
#if 0
# define TC_TRACE_FILE_OPERATIONS

View File

@@ -12,7 +12,7 @@
#include <stdio.h>
#include <sys/stat.h>
namespace TrueCrypt
namespace VeraCrypt
{
void FilesystemPath::Delete () const
{

View File

@@ -10,7 +10,7 @@
#include "Platform/Mutex.h"
#include "Platform/SystemException.h"
namespace TrueCrypt
namespace VeraCrypt
{
Mutex::Mutex ()
{

View File

@@ -10,7 +10,7 @@
#include "Pipe.h"
#include "Platform/SystemException.h"
namespace TrueCrypt
namespace VeraCrypt
{
Pipe::Pipe ()
{

View File

@@ -11,7 +11,7 @@
#include "Platform/PlatformBase.h"
namespace TrueCrypt
namespace VeraCrypt
{
class Pipe
{

View File

@@ -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)
{

View File

@@ -11,7 +11,7 @@
#include "Platform/PlatformBase.h"
namespace TrueCrypt
namespace VeraCrypt
{
class Poller
{

View File

@@ -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)
{

View File

@@ -13,7 +13,7 @@
#include "Platform/Buffer.h"
#include "Platform/Functor.h"
namespace TrueCrypt
namespace VeraCrypt
{
struct ProcessExecFunctor
{

View File

@@ -10,7 +10,7 @@
#include "Platform/SyncEvent.h"
#include "Platform/SystemException.h"
namespace TrueCrypt
namespace VeraCrypt
{
SyncEvent::SyncEvent ()
{

View File

@@ -12,7 +12,7 @@
#include "Platform/SystemException.h"
#include "Platform/StringConverter.h"
namespace TrueCrypt
namespace VeraCrypt
{
SystemException::SystemException ()
: ErrorCode (errno)

View File

@@ -10,7 +10,7 @@
#include "Platform/SystemInfo.h"
#include <sys/utsname.h>
namespace TrueCrypt
namespace VeraCrypt
{
wstring SystemInfo::GetPlatformName ()
{

View File

@@ -9,7 +9,7 @@
#include <syslog.h>
#include "Platform/SystemLog.h"
namespace TrueCrypt
namespace VeraCrypt
{
void SystemLog::WriteDebug (const string &debugMessage)
{

View File

@@ -12,7 +12,7 @@
#include "Platform/Thread.h"
#include "Platform/SystemLog.h"
namespace TrueCrypt
namespace VeraCrypt
{
void Thread::Join () const
{

View File

@@ -10,7 +10,7 @@
#include <sys/time.h>
#include <time.h>
namespace TrueCrypt
namespace VeraCrypt
{
uint64 Time::GetCurrent ()
{

View File

@@ -16,7 +16,7 @@
#include <sys/types.h>
#endif
namespace TrueCrypt
namespace VeraCrypt
{
struct UserId
{