Added Copy and Paste functions to GHOST.
[blender-staging.git] / intern / ghost / intern / GHOST_C-api.cpp
index c2b8eca9573f0c6fc72246395e8e8b42fafcfda4..6943e85f12fba69eefd135a0e884c12a55de1606 100644 (file)
@@ -802,3 +802,16 @@ GHOST_TSuccess GHOST_ClipRectangle(GHOST_RectangleHandle rectanglehandle,
 
        return result;
 }
+
+GHOST_TUns8* getClipboard(int flag)
+{
+       GHOST_ISystem* system = GHOST_ISystem::getSystem();
+       return system->getClipboard(flag);
+}
+
+void putClipboard(GHOST_TInt8 *buffer, int flag)
+{
+       GHOST_ISystem* system = GHOST_ISystem::getSystem();
+       system->putClipboard(buffer, flag);
+}
+