summaryrefslogtreecommitdiff
path: root/tools/scaninc/source_file.cpp
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-01-18 23:39:05 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-01-18 23:39:05 -0500
commitcd67c5e24055753615f96567c87c518b7487e879 (patch)
tree864e6d20f90aaccfa440ef5482998f98e9f7ebcc /tools/scaninc/source_file.cpp
parentac62e8e563f9e74493a394a21c1bd8fa1570b184 (diff)
Sync scaninc with pokeemerald
Diffstat (limited to 'tools/scaninc/source_file.cpp')
-rw-r--r--tools/scaninc/source_file.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/scaninc/source_file.cpp b/tools/scaninc/source_file.cpp
index f23ff6db6..df31282f8 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)