mirror of https://github.com/AxioDL/nod.git
prep for LogVisor integration
This commit is contained in:
parent
84ca6a62e3
commit
a186687488
|
@ -150,7 +150,9 @@ protected:
|
|||
Header m_header;
|
||||
std::vector<std::unique_ptr<IPartition>> m_partitions;
|
||||
public:
|
||||
DiscBase(std::unique_ptr<IDiscIO>&& dio);
|
||||
DiscBase(std::unique_ptr<IDiscIO>&& dio)
|
||||
: m_discIO(std::move(dio)), m_header(*m_discIO.get()) {}
|
||||
|
||||
virtual bool commit()=0;
|
||||
inline const Header& getHeader() const {return m_header;}
|
||||
inline const IDiscIO& getDiscIO() const {return *m_discIO.get();}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#define __NOD_LIB__
|
||||
|
||||
#include <memory>
|
||||
#include <LogVisor/LogVisor.hpp>
|
||||
#include "Util.hpp"
|
||||
|
||||
namespace NOD
|
||||
|
|
|
@ -8,11 +8,6 @@
|
|||
namespace NOD
|
||||
{
|
||||
|
||||
DiscBase::DiscBase(std::unique_ptr<IDiscIO>&& dio)
|
||||
: m_discIO(std::move(dio)), m_header(*m_discIO.get())
|
||||
{
|
||||
}
|
||||
|
||||
void DiscBase::IPartition::parseFST(IPartReadStream& s)
|
||||
{
|
||||
std::unique_ptr<uint8_t[]> fst(new uint8_t[m_fstSz]);
|
||||
|
|
|
@ -6,7 +6,7 @@ QT =
|
|||
TARGET = NOD
|
||||
|
||||
QMAKE_CXXFLAGS += -maes
|
||||
INCLUDEPATH += ../include
|
||||
INCLUDEPATH += ../include ../../../LogVisor/include
|
||||
|
||||
SOURCES += \
|
||||
FileIOFILE.cpp \
|
||||
|
|
Loading…
Reference in New Issue