MeshLib C++ Docs
Loading...
Searching...
No Matches
MRDragDropHandler.h
Go to the documentation of this file.
1#pragma once
2#include "MRViewerFwd.h"
3
4struct GLFWwindow;
5
6namespace MR
7{
8
9// this class is needed to emit detailed Drag & Drop events to Viewer on different platforms
11{
12public:
13 virtual ~IDragDropHandler() = default;
14};
15
16// returns platform specific Drag & Drop handler that will emit drag & drop events to Viewer
17// null means that this platform does not support detailed Drag & Drop events yet
18std::unique_ptr<IDragDropHandler> getDragDropHandler( GLFWwindow* window );
19
20}
Definition MRDragDropHandler.h:11
virtual ~IDragDropHandler()=default
Definition MRCameraOrientationPlugin.h:8
std::unique_ptr< IDragDropHandler > getDragDropHandler(GLFWwindow *window)