diff --git a/avogadro/qtplugins/surfaces/surfaces.cpp b/avogadro/qtplugins/surfaces/surfaces.cpp index ad503955a6..05f5cd6586 100644 --- a/avogadro/qtplugins/surfaces/surfaces.cpp +++ b/avogadro/qtplugins/surfaces/surfaces.cpp @@ -38,6 +38,7 @@ namespace { #include #include #include +#include #include #include #include @@ -89,6 +90,7 @@ Surfaces::Surfaces(QObject* p) : ExtensionPlugin(p), d(new PIMPL()) Io::FileFormatManager::registerFormat(new QuantumIO::GAMESSUSOutput); Io::FileFormatManager::registerFormat(new QuantumIO::GaussianFchk); Io::FileFormatManager::registerFormat(new QuantumIO::GaussianCube); + Io::FileFormatManager::registerFormat(new QuantumIO::GenericOutput); Io::FileFormatManager::registerFormat(new QuantumIO::MoldenFile); Io::FileFormatManager::registerFormat(new QuantumIO::MopacAux); Io::FileFormatManager::registerFormat(new QuantumIO::NWChemJson); diff --git a/avogadro/quantumio/CMakeLists.txt b/avogadro/quantumio/CMakeLists.txt index 6ae5e26e7d..94ac3e2f3e 100644 --- a/avogadro/quantumio/CMakeLists.txt +++ b/avogadro/quantumio/CMakeLists.txt @@ -4,6 +4,7 @@ avogadro_headers(QuantumIO gamessus.h gaussianfchk.h gaussiancube.h + genericoutput.h molden.h mopacaux.h nwchemjson.h @@ -16,6 +17,7 @@ target_sources(QuantumIO PRIVATE gamessus.cpp gaussianfchk.cpp gaussiancube.cpp + genericoutput.cpp molden.cpp mopacaux.cpp nwchemjson.cpp diff --git a/avogadro/quantumio/gamessus.cpp b/avogadro/quantumio/gamessus.cpp index 2082c1904a..f2bb47f2b7 100644 --- a/avogadro/quantumio/gamessus.cpp +++ b/avogadro/quantumio/gamessus.cpp @@ -33,8 +33,6 @@ std::vector GAMESSUSOutput::fileExtensions() const std::vector extensions; extensions.emplace_back("gamout"); extensions.emplace_back("gamess"); - extensions.emplace_back("log"); - extensions.emplace_back("out"); return extensions; } diff --git a/avogadro/quantumio/nwchemlog.cpp b/avogadro/quantumio/nwchemlog.cpp index 79c5229101..bd48b8066f 100644 --- a/avogadro/quantumio/nwchemlog.cpp +++ b/avogadro/quantumio/nwchemlog.cpp @@ -29,8 +29,6 @@ NWChemLog::~NWChemLog() std::vector NWChemLog::fileExtensions() const { std::vector extensions; - extensions.emplace_back("log"); - extensions.emplace_back("out"); extensions.emplace_back("nwchem"); return extensions; } diff --git a/avogadro/quantumio/orca.cpp b/avogadro/quantumio/orca.cpp index 0a69e2a49f..2061ee8bb5 100644 --- a/avogadro/quantumio/orca.cpp +++ b/avogadro/quantumio/orca.cpp @@ -30,8 +30,7 @@ ORCAOutput::~ORCAOutput() {} std::vector ORCAOutput::fileExtensions() const { std::vector extensions; - extensions.emplace_back("log"); - extensions.emplace_back("out"); + extensions.emplace_back("orca"); return extensions; }