From ca5bb76d2b8f65aa97e50b633f828c1deb241526 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Fri, 11 Jul 2008 16:51:25 +0000 Subject: Delete the svn:executable property and set svn:eol-style to native for all those text files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18012 a1c6a512-1295-4272-9138-f99709370657 --- .../zenutils/libraries/pelib-0.9/pelib/PeFile.cpp | 338 ++++++++++----------- 1 file changed, 169 insertions(+), 169 deletions(-) mode change 100755 => 100644 utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp (limited to 'utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp') diff --git a/utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp b/utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp old mode 100755 new mode 100644 index 39f2488b81..9e9f2d8691 --- a/utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp +++ b/utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp @@ -1,169 +1,169 @@ -/* -* PeLib.cpp - Part of the PeLib library. -* -* Copyright (c) 2004 - 2005 Sebastian Porst (webmaster@the-interweb.com) -* All rights reserved. -* -* This software is licensed under the zlib/libpng License. -* For more details see http://www.opensource.org/licenses/zlib-license.php -* or the license information file (license.htm) in the root directory -* of PeLib. -*/ - -#include "PeFile.h" - -namespace PeLib -{ - PeFile::~PeFile() - { - } - - PeFile32::PeFile32() : PeFileT<32>() - { - } - - PeFile32::PeFile32(const std::string& strFlename) : PeFileT<32>(strFlename) - { - } - - PeFile64::PeFile64() : PeFileT<64>() - { - } - - PeFile64::PeFile64(const std::string& strFlename) : PeFileT<64>(strFlename) - { - } - - /** - * @return A reference to the file's MZ header. - **/ - - const MzHeader& PeFile::mzHeader() const - { - return m_mzh; - } - - /** - * @return A reference to the file's MZ header. - **/ - - MzHeader& PeFile::mzHeader() - { - return m_mzh; - } - - /** - * @return A reference to the file's export directory. - **/ - - const ExportDirectory& PeFile::expDir() const - { - return m_expdir; - } - - /** - * @return A reference to the file's export directory. - **/ - - ExportDirectory& PeFile::expDir() - { - return m_expdir; - } - - /** - * @return A reference to the file's bound import directory. - **/ - - const BoundImportDirectory& PeFile::boundImpDir() const - { - return m_boundimpdir; - } - - /** - * @return A reference to the file's bound import directory. - **/ - - BoundImportDirectory& PeFile::boundImpDir() - { - return m_boundimpdir; - } - - /** - * @return A reference to the file's resource directory. - **/ - - const ResourceDirectory& PeFile::resDir() const - { - return m_resdir; - } - - /** - * @return A reference to the file's resource directory. - **/ - - ResourceDirectory& PeFile::resDir() - { - return m_resdir; - } - - /** - * @return A reference to the file's relocations directory. - **/ - - const RelocationsDirectory& PeFile::relocDir() const - { - return m_relocs; - } - - /** - * @return A reference to the file's relocations directory. - **/ - - RelocationsDirectory& PeFile::relocDir() - { - return m_relocs; - } - - /** - * @return A reference to the file's COM+ descriptor directory. - **/ - - const ComHeaderDirectory& PeFile::comDir() const - { - return m_comdesc; - } - - /** - * @return A reference to the file's COM+ descriptor directory. - **/ - - ComHeaderDirectory & PeFile::comDir() - { - return m_comdesc; - } - - - const IatDirectory& PeFile::iatDir() const - { - return m_iat; - } - - - IatDirectory& PeFile::iatDir() - { - return m_iat; - } - - - const DebugDirectory& PeFile::debugDir() const - { - return m_debugdir; - } - - - DebugDirectory& PeFile::debugDir() - { - return m_debugdir; - } - -} +/* +* PeLib.cpp - Part of the PeLib library. +* +* Copyright (c) 2004 - 2005 Sebastian Porst (webmaster@the-interweb.com) +* All rights reserved. +* +* This software is licensed under the zlib/libpng License. +* For more details see http://www.opensource.org/licenses/zlib-license.php +* or the license information file (license.htm) in the root directory +* of PeLib. +*/ + +#include "PeFile.h" + +namespace PeLib +{ + PeFile::~PeFile() + { + } + + PeFile32::PeFile32() : PeFileT<32>() + { + } + + PeFile32::PeFile32(const std::string& strFlename) : PeFileT<32>(strFlename) + { + } + + PeFile64::PeFile64() : PeFileT<64>() + { + } + + PeFile64::PeFile64(const std::string& strFlename) : PeFileT<64>(strFlename) + { + } + + /** + * @return A reference to the file's MZ header. + **/ + + const MzHeader& PeFile::mzHeader() const + { + return m_mzh; + } + + /** + * @return A reference to the file's MZ header. + **/ + + MzHeader& PeFile::mzHeader() + { + return m_mzh; + } + + /** + * @return A reference to the file's export directory. + **/ + + const ExportDirectory& PeFile::expDir() const + { + return m_expdir; + } + + /** + * @return A reference to the file's export directory. + **/ + + ExportDirectory& PeFile::expDir() + { + return m_expdir; + } + + /** + * @return A reference to the file's bound import directory. + **/ + + const BoundImportDirectory& PeFile::boundImpDir() const + { + return m_boundimpdir; + } + + /** + * @return A reference to the file's bound import directory. + **/ + + BoundImportDirectory& PeFile::boundImpDir() + { + return m_boundimpdir; + } + + /** + * @return A reference to the file's resource directory. + **/ + + const ResourceDirectory& PeFile::resDir() const + { + return m_resdir; + } + + /** + * @return A reference to the file's resource directory. + **/ + + ResourceDirectory& PeFile::resDir() + { + return m_resdir; + } + + /** + * @return A reference to the file's relocations directory. + **/ + + const RelocationsDirectory& PeFile::relocDir() const + { + return m_relocs; + } + + /** + * @return A reference to the file's relocations directory. + **/ + + RelocationsDirectory& PeFile::relocDir() + { + return m_relocs; + } + + /** + * @return A reference to the file's COM+ descriptor directory. + **/ + + const ComHeaderDirectory& PeFile::comDir() const + { + return m_comdesc; + } + + /** + * @return A reference to the file's COM+ descriptor directory. + **/ + + ComHeaderDirectory & PeFile::comDir() + { + return m_comdesc; + } + + + const IatDirectory& PeFile::iatDir() const + { + return m_iat; + } + + + IatDirectory& PeFile::iatDir() + { + return m_iat; + } + + + const DebugDirectory& PeFile::debugDir() const + { + return m_debugdir; + } + + + DebugDirectory& PeFile::debugDir() + { + return m_debugdir; + } + +} -- cgit v1.2.3