diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -331,8 +331,9 @@ bool findAndRemoveWord(QCString &s,const char *word); QCString stripLeadingAndTrailingEmptyLines(const QCString &s,int &docLine); bool updateLanguageMapping(const QCString &extension,const QCString &parser); -SrcLangExt getLanguageFromFileName(const QCString& fileName); -QCString getFileNameExtension(QCString fn); +SrcLangExt getLanguageFromFileName(const QCString& fileName, SrcLangExt defLang=SrcLangExt_Cpp); +SrcLangExt getLanguageFromCodeLang(QCString &fileName); +QCString getFileNameExtension(const QCString &fn); void initDefaultExtensionMapping(); void addCodeOnlyMappings(); |