Added Copy and Paste functions to GHOST.
[blender-staging.git] / intern / ghost / GHOST_ISystem.h
index dffd81bdb138da1949d39bbf636a60fa7f2f6298..5e0473203dbbee163e66f4a2b78407cc2d9fc33b 100644 (file)
@@ -336,6 +336,18 @@ public:
         */
        virtual GHOST_TSuccess getButtonState(GHOST_TButtonMask mask, bool& isDown) const = 0;
 
+       /**
+        * Returns the selection buffer
+        * @return Returns "unsinged char" from X11 XA_CUT_BUFFER0 buffer
+        *
+        */
+        virtual GHOST_TUns8* getClipboard(int flag) const = 0;
+
+       /**
+        * Put data to the Clipboard
+        */
+       virtual void putClipboard(GHOST_TInt8 *buffer, int flag) const = 0;
+
 protected:
        /**
         * Initialize the system.