Commit f2dcd7d8 authored by Gagik Vardanyan's avatar Gagik Vardanyan
Browse files

extern declare preview manager

parent 1bdd4a2f
......@@ -63,6 +63,13 @@ using PreviewManager = Mantid::Kernel::SingletonHolder<PreviewManagerImpl>;
} // namespace API
} // namespace Mantid
namespace Mantid {
namespace Kernel {
EXTERN_MANTID_API template class MANTID_API_DLL
Mantid::Kernel::SingletonHolder<Mantid::API::PreviewManagerImpl>;
}
} // namespace Mantid
#define DECLARE_PREVIEW(classname) \
namespace { \
Mantid::Kernel::RegistrationHelper register_preview_##classname( \
......
......@@ -7,8 +7,6 @@
#pragma once
#include "MantidAPI/IFileLoader.h"
#include "MantidAPI/IPreview.h"
#include "MantidAPI/PreviewManager.h"
#include "MantidDataHandling/LoadHelper.h"
#include "MantidKernel/NexusDescriptor.h"
#include "MantidKernel/System.h"
......
......@@ -876,5 +876,6 @@ LoadILLSANS::getVariableTimeBinning(const NXEntry &entry,
}
return binEdges;
}
} // namespace DataHandling
} // namespace Mantid
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment