diff --git a/src/plugins/support/SEDMLSupport/src/sedmlfile.cpp b/src/plugins/support/SEDMLSupport/src/sedmlfile.cpp index f1cb4ab826..9d795398a4 100644 --- a/src/plugins/support/SEDMLSupport/src/sedmlfile.cpp +++ b/src/plugins/support/SEDMLSupport/src/sedmlfile.cpp @@ -251,6 +251,15 @@ void SedmlFile::forceNew() //============================================================================== +bool SedmlFile::isL1V4OrLater() const +{ + // Return whether we are L1V4 or later + + return mL1V4OrLater; +} + +//============================================================================== + bool SedmlFile::isValid(const QString &pFileContents, SedmlFileIssues &pIssues) { // Make sure that we are loaded, if the given file contents is empty (i.e. diff --git a/src/plugins/support/SEDMLSupport/src/sedmlfile.h b/src/plugins/support/SEDMLSupport/src/sedmlfile.h index 843dc43c58..ef4cedb070 100644 --- a/src/plugins/support/SEDMLSupport/src/sedmlfile.h +++ b/src/plugins/support/SEDMLSupport/src/sedmlfile.h @@ -124,6 +124,8 @@ class SEDMLSUPPORT_EXPORT SedmlFile : public StandardSupport::StandardFile void forceNew(); + bool isL1V4OrLater() const; + bool isValid(const QString &pFileContents, SedmlFileIssues &pIssues); bool isValid(); bool isSupported();