Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 30, 2011, 11:06:36 PM (13 years ago)
Author:
landauf
Message:

Replaced COUT in util with orxout.
Used user_error for Exceptions and Assertions because I assume they're only used in very critical situations. Same with Signal Handler.
Clipboard shows user_errors because it's used only with user interaction.
Other output is mostly internal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/util/Clipboard.cc

    r8788 r8804  
    7676        catch (...)
    7777        {
    78             COUT(1) << "Error: Unable to copy the following text to the clipboard:" << std::endl;
    79             COUT(1) << "       \"" << text << '"' << std::endl;
     78            orxout(user_error) << "Unable to copy the following text to the clipboard:" << endl;
     79            orxout(user_error) << '"' << text << '"' << endl;
    8080        }
    8181        return false;
     
    104104        catch (...)
    105105        {
    106             COUT(1) << "Error: Unable to retrieve text from the clipboard." << std::endl;
     106            orxout(user_error) << "Unable to retrieve text from the clipboard." << endl;
    107107        }
    108108        return "";
Note: See TracChangeset for help on using the changeset viewer.