diff --git a/Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h b/Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h index 61b83884ef3a32ee1e5a48dbbe4d37f06cae1804..3eb6faeac33ece69d7ae52208431605b2f2c9629 100644 --- a/Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h +++ b/Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h @@ -7,13 +7,13 @@ #pragma once #include "MantidAPI/IFileLoader.h" -#include "MantidKernel/NexusDescriptor.h" +#include "MantidNexus/HDF5Descriptor.h" #include "MantidKernel/System.h" namespace Mantid { namespace API { -class DLLExport NexusFileLoader : public IFileLoader<NexusDescriptor> { +class DLLExport NexusFileLoader : public IFileLoader<Mantid::Nexus::HDF5Descriptor> { public: void exec() override; void createChildAlgorithm(const std::string &name, @@ -21,7 +21,9 @@ public: const double endProgress = -1., const bool enableLogging = true, const int &version = -1) override; - setFileInfo() override; + void setFileInfo(std::shared_ptr<Mantid::Nexus::HDF5Descriptor> fileInfo); +private: + std::shared_ptr<Mantid::Nexus::HDF5Descriptor> m_fileInfo; }; } // namespace API } // namespace Mantid diff --git a/Framework/DataHandling/src/NexusFileLoader.cpp b/Framework/DataHandling/src/NexusFileLoader.cpp index 28f3f336d7c156b5d0605723e6228e55a2a7bc7d..1816b8b0475a5d3d376db3bae04390a510227cb5 100644 --- a/Framework/DataHandling/src/NexusFileLoader.cpp +++ b/Framework/DataHandling/src/NexusFileLoader.cpp @@ -5,3 +5,14 @@ // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + #include "MantidDataHandling/NexusFileLoader.h" + +namespace Mantid::DataHandling { + void NexusFileLoader::exec() {} + void createChildAlgorithm(const std::string &name, + const double startProgress, + const double endProgress, + const bool enableLogging, + const int &version) {} + void setFileInfo(std::shared_ptr<Mantid::Nexus::HDF5Descriptor> fileInfo) + {} +}