diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2019-09-04 13:18:49 -0700 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2019-09-04 13:18:49 -0700 |
commit | a7ef6c4cbf5ef481281917685a633ccd842335d5 (patch) | |
tree | 44674b0580f41426eb5112e31cdc0245237d1666 /tools/scaninc/source_file.cpp | |
parent | 1ec2c86089fd933a46ef405da63c131aee52d7e0 (diff) |
Diffstat (limited to 'tools/scaninc/source_file.cpp')
-rw-r--r-- | tools/scaninc/source_file.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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) |