2
0
Fork 0
OB-Xd/Modules/juce_gui_basics/native/mac_objectivec_interface.h
George Reales 64fce498d3 macOS Universal Copy Paste
This functionality modifies and adds files to JUCE framework modules
2022-10-30 08:44:11 +01:00

18 lines
481 B
C++

/*
* Native Mac interface
*
* Interface from C++ to Objective C
*/
namespace juce
{
// Mac Clipboard
class macPasteboard
{
public:
static void copyPresetDataToClipboard(void *data, size_t size); // Copy Preset data to the clipboard
static bool containsPresetData(); // Indicates if Preset data is on the clipboard
static bool fetchPresetDataFromClipboard(juce::MemoryBlock& mb); // Load Preset from the clipboard into a juce MemoryBlock
};
} // namespace