blob: 26add690d35c7b45abd87f2ee231fc2c614d16f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
//===- BSDArchiveReader.h -------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef MCLD_BSD_ARCHIVE_READER_H
#define MCLD_BSD_ARCHIVE_READER_H
#ifdef ENABLE_UNITTEST
#include <gtest.h>
#endif
#include "mcld/LD/ArchiveReader.h"
namespace mcld
{
class Input;
class InputTree;
/** \class BSDArchiveReader
* \brief BSDArchiveReader reads BSD-variant archive files.
*
*/
class BSDArchiveReader : public ArchiveReader
{
public:
BSDArchiveReader();
~BSDArchiveReader();
InputTree *readArchive(Input &input);
bool isMyFormat(Input& pInput) const;
};
} // namespace of mcld
#endif
|