mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-13 00:08:26 -05:00
Set closing block variable names
This commit is contained in:
@ -1,13 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "IHeaderBlock.h"
|
||||
#include "IHeaderBlockVariableDefining.h"
|
||||
|
||||
class HeaderBlockStruct final : public IHeaderBlock
|
||||
class HeaderBlockStruct final : public IHeaderBlock, public IHeaderBlockVariableDefining
|
||||
{
|
||||
std::string m_variable_name;
|
||||
|
||||
public:
|
||||
HeaderBlockType GetType() override;
|
||||
const std::vector<sequence_t*>& GetTestsForBlock() override;
|
||||
void OnOpen(HeaderParserState* state) override;
|
||||
void OnClose(HeaderParserState* state) override;
|
||||
void OnChildBlockClose(HeaderParserState* state, IHeaderBlock* block) override;
|
||||
|
||||
void SetVariableName(std::string name) override;
|
||||
};
|
||||
|
Reference in New Issue
Block a user