mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-26 06:37:52 -05:00
Add build log to templater
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
#include "Utils/ClassUtils.h"
|
||||
#include "Parsing/IParserLineStream.h"
|
||||
|
||||
namespace templating
|
||||
@ -9,11 +10,13 @@ namespace templating
|
||||
{
|
||||
public:
|
||||
Templater(std::istream& stream, std::string fileName);
|
||||
|
||||
bool TemplateToDirectory(const std::string& outputDirectory) const;
|
||||
|
||||
void SetBuildLogFile(std::ostream* buildLogFile);
|
||||
_NODISCARD bool TemplateToDirectory(const std::string& outputDirectory) const;
|
||||
|
||||
private:
|
||||
std::istream& m_stream;
|
||||
std::ostream* m_build_log;
|
||||
std::string m_file_name;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user