From d3aec1d246c5ad472e932aa064468ad340209742 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 16 Oct 2010 22:32:19 +0200 Subject: [PATCH] Changed: #1038 Implement copy/paste for Linux (patch provided by Naush) --- code/nel/include/nel/3d/driver.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/nel/include/nel/3d/driver.h b/code/nel/include/nel/3d/driver.h index 914a1ea57..329dd19d2 100644 --- a/code/nel/include/nel/3d/driver.h +++ b/code/nel/include/nel/3d/driver.h @@ -558,6 +558,12 @@ public: /// Swap the back and front buffers. virtual bool swapBuffers(void)=0; + /// Copy a string to system clipboard. + virtual bool copyTextToClipboard(const ucstring &text) =0; + + /// Paste a string from system clipboard. + virtual bool pasteTextFromClipboard(ucstring &text) =0; + /** set the number of VBL wait when a swapBuffers() is issued. 0 means no synchronisation to the VBL * Default is 1. Values >1 may be clamped to 1 by the driver. */