BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
projectmanagerfactory.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // qt-mvvm: Model-view-view-model framework for large GUI applications
4 //
5 //! @file mvvm/model/mvvm/factories/projectmanagerfactory.h
6 //! @brief Defines class CLASS?
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2020
11 //! @authors Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_FACTORIES_PROJECTMANAGERFACTORY_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_FACTORIES_PROJECTMANAGERFACTORY_H
17 
19 #include <memory>
20 
21 namespace ModelView {
22 
23 struct ProjectContext;
24 struct UserInteractionContext;
25 
26 //! Creates default ProjectManager to save and load models.
27 MVVM_MODEL_EXPORT std::unique_ptr<ProjectManagerInterface>
28 CreateProjectManager(const ProjectContext& project_context,
29  const UserInteractionContext& user_context);
30 
31 } // namespace ModelView
32 
33 #endif // BORNAGAIN_MVVM_MODEL_MVVM_FACTORIES_PROJECTMANAGERFACTORY_H
materialitems.h Collection of materials to populate MaterialModel.
std::unique_ptr< ProjectManagerInterface > CreateProjectManager(const ProjectContext &project_context, const UserInteractionContext &user_context)
Creates default ProjectManager to save and load models.
Defines class CLASS?