Skip to content
Snippets Groups Projects
Commit 2f9d81b6 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

class -> namespace

parent f1834b24
No related branches found
No related tags found
1 merge request!2101cleanup of GUI/Masks ctd; decouple MaskGraphicsProxy from SceneAdaptor
...@@ -15,18 +15,15 @@ ...@@ -15,18 +15,15 @@
#ifndef BORNAGAIN_GUI_VIEW_MASK_MASKVIEWFACTORY_H #ifndef BORNAGAIN_GUI_VIEW_MASK_MASKVIEWFACTORY_H
#define BORNAGAIN_GUI_VIEW_MASK_MASKVIEWFACTORY_H #define BORNAGAIN_GUI_VIEW_MASK_MASKVIEWFACTORY_H
#include <QString>
class IMaskElementDisplay; class IMaskElementDisplay;
class MaskItemObject; class MaskItemObject;
class SceneAdaptor; class SceneAdaptor;
namespace MaskViewFactory {
//! Factory to construct views out of MaskItems for MaskGraphicsScene //! Factory to construct views out of MaskItems for MaskGraphicsScene
IMaskElementDisplay* createMaskView(MaskItemObject* item, SceneAdaptor* adaptor = nullptr);
class MaskViewFactory {
public:
static IMaskElementDisplay* createMaskView(MaskItemObject* item,
SceneAdaptor* adaptor = nullptr);
}; };
#endif // BORNAGAIN_GUI_VIEW_MASK_MASKVIEWFACTORY_H #endif // BORNAGAIN_GUI_VIEW_MASK_MASKVIEWFACTORY_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment