From 4f88655a79bb2d8f10bdce2841f427c0e27040bd Mon Sep 17 00:00:00 2001 From: shinny Date: Tue, 2 Jun 2020 14:51:57 -0400 Subject: update tools --- tools/scaninc/source_file.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/scaninc/source_file.cpp') diff --git a/tools/scaninc/source_file.cpp b/tools/scaninc/source_file.cpp index f23ff6d..df31282 100644 --- a/tools/scaninc/source_file.cpp +++ b/tools/scaninc/source_file.cpp @@ -89,6 +89,11 @@ SourceFile::SourceFile(std::string path) } } +SourceFileType SourceFile::FileType() +{ + return m_file_type; +} + SourceFile::~SourceFile() { if (m_file_type == SourceFileType::Cpp || m_file_type == SourceFileType::Header) -- cgit v1.2.3