Changeset 1791 for code/trunk/src/util/Clipboard.h
- Timestamp:
- Sep 16, 2008, 3:46:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/util/Clipboard.h
r1505 r1791 27 27 */ 28 28 29 /** 30 @file Clipboard.h 31 @brief Some functions to exchange text between the OS clipboard and Orxonox. 32 33 Use fromClipboard() to get text from the clipboard (if there is any text) and 34 toClipboard(text) to put text into the clipboard. 35 36 Those functions can only work properly if there's an OS-specific implementation. 37 If an OS isn't supported, the clipboard only works within Orxonox, but exchange 38 with other programs isn't possible. 39 */ 40 29 41 #ifndef _Clipboard_H__ 30 42 #define _Clipboard_H__ … … 35 47 36 48 37 _UtilExport bool toClipboard( std::stringtext);49 _UtilExport bool toClipboard(const std::string& text); 38 50 _UtilExport std::string fromClipboard(); 39 51
Note: See TracChangeset
for help on using the changeset viewer.