Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 16, 2008, 3:46:25 AM (16 years ago)
Author:
landauf
Message:

added comments to all my classes in util

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/util/Clipboard.h

    r1505 r1791  
    2727 */
    2828
     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
    2941#ifndef _Clipboard_H__
    3042#define _Clipboard_H__
     
    3547
    3648
    37 _UtilExport bool toClipboard(std::string text);
     49_UtilExport bool toClipboard(const std::string& text);
    3850_UtilExport std::string fromClipboard();
    3951
Note: See TracChangeset for help on using the changeset viewer.