1 2 #ifndef FORTRANFILEEXT_H 3 #define FORTRANFILEEXT_H 4 5 #include <sdk.h> 6 #ifndef CB_PRECOMP 7 #include <editorcolourset.h> 8 #endif 9 10 #include "tokenizerf.h" 11 #include "includedb.h" 12 13 class FortranFileExt 14 { 15 public: 16 FortranFileExt(); 17 ~FortranFileExt(); 18 bool IsFileFortran(const wxString& filename, FortranSourceForm& fsForm); 19 void RereadOptions(); 20 private: 21 void RereadFileExtensions(); 22 void RereadFileExtensionsLang(EditorColourSet* colSet, wxString langName, StringSet& extSet); 23 bool m_ExtDone; 24 StringSet m_FortranExtFree; 25 StringSet m_FortranExtFixed; 26 }; 27 28 #endif // FORTRANFILEEXT_H 29