// This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #pragma once #include "cstring.h" #include "idatapackage.h" #include "optional.h" namespace VSTGUI { //----------------------------------------------------------------------------- struct CClipboard { /** get the global clipboard data */ static SharedPointer get (); /** set the global clipboard data */ static bool set (const SharedPointer& data); /** get the string from the global clipboard if it exists */ static Optional getString (); /** get the file path from the global clipboard if it exists */ static Optional getFilePath (); /** set the string of the global clipboard */ static bool setString (UTF8StringPtr str); /** set the file path of the global clipboard */ static bool setFilePath (UTF8StringPtr str); }; } // VSTGUI