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
7
namespace
MR
8
{
9
10
// returns data in clipboard
11
[[nodiscard]] MRVIEWER_API
Expected<std::string>
GetClipboardText
();
12
13
// sets data in clipboard
14
MRVIEWER_API
Expected<void>
SetClipboardText
(
const
std::string& text );
15
16
}
// namespace MR
MRExpected.h
MR
Definition
MRCameraOrientationPlugin.h:8
MR::GetClipboardText
MRVIEWER_API Expected< std::string > GetClipboardText()
MR::Expected
tl::expected< T, E > Expected
Definition
MRExpected.h:58
MR::SetClipboardText
MRVIEWER_API Expected< void > SetClipboardText(const std::string &text)
MeshLib
source
MRViewer
MRClipboard.h
Generated by
1.11.0