diff options
| author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2008-07-11 16:51:25 +0000 |
|---|---|---|
| committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2008-07-11 16:51:25 +0000 |
| commit | ca5bb76d2b8f65aa97e50b633f828c1deb241526 (patch) | |
| tree | 453a1b2de3a0dc0d0b2f7080d10d033bf8fbcdf1 /utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp | |
| parent | 141774be48940d56e3ad4dbf451d245b61d4f8b2 (diff) | |
| download | rockbox-ca5bb76d2b8f65aa97e50b633f828c1deb241526.zip rockbox-ca5bb76d2b8f65aa97e50b633f828c1deb241526.tar.gz rockbox-ca5bb76d2b8f65aa97e50b633f828c1deb241526.tar.bz2 rockbox-ca5bb76d2b8f65aa97e50b633f828c1deb241526.tar.xz | |
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
Diffstat (limited to 'utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp')
| -rw-r--r--[-rwxr-xr-x] | utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp | 338 |
1 files changed, 169 insertions, 169 deletions
diff --git a/utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp b/utils/zenutils/libraries/pelib-0.9/pelib/PeFile.cpp index 39f2488..9e9f2d8 100755..100644 --- 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; + } + +} |