Added Copy and Paste functions to GHOST.
[blender-staging.git] / intern / ghost / intern / GHOST_SystemCarbon.h
index 93022aa78ff479b17e687815d6da3461a4cf950a..dc03cd2a84d1396111b06e419ebf86ba5e26b51d 100644 (file)
@@ -168,6 +168,20 @@ public:
         */
        virtual GHOST_TSuccess getButtons(GHOST_Buttons& buttons) const;
 
+       /**
+        * Returns Clipboard data
+        * @param flag          Indicate which buffer to return
+        * @return              Returns the selected buffer
+        */
+       virtual GHOST_TUns8* GHOST_SystemCarbon::getClipboard(int flag) const;
+       
+       /**
+        * Puts buffer to system clipboard
+        * @param buffer        The buffer to be copied
+        * @param flag          Indicates which buffer to copy too Only used on X11
+        */
+       virtual void putClipboard(GHOST_TInt8 *buffer, int flag) const;
+
 protected:
        /**
         * Initializes the system.