MeshLib Documentation
Loading...
Searching...
No Matches
MRClipboard.h
Go to the documentation of this file.
1#pragma once
2
3#include "exports.h"
4
5#include <MRMesh/MRExpected.h>
6
7namespace MR
8{
9
10// returns data in clipboard
11[[nodiscard]] MRVIEWER_API Expected<std::string> GetClipboardText();
12
13// sets data in clipboard
14MRVIEWER_API Expected<void> SetClipboardText( const std::string& text );
15
16} // namespace MR
Definition MRCameraOrientationPlugin.h:8
MRVIEWER_API Expected< std::string > GetClipboardText()
tl::expected< T, E > Expected
Definition MRExpected.h:58
MRVIEWER_API Expected< void > SetClipboardText(const std::string &text)