1 |
// qsamplerMessages.cpp |
// qsamplerMessages.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2020, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2021, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, Christian Schoenebeck |
Copyright (C) 2007, Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
118 |
} |
} |
119 |
|
|
120 |
|
|
121 |
|
#if defined(__WIN32__) || defined(_WIN32) || defined(WIN32) |
122 |
|
#pragma GCC diagnostic push |
123 |
|
#pragma GCC diagnostic ignored "-Wunused-parameter" |
124 |
|
#endif |
125 |
|
|
126 |
// Set stdout/stderr blocking mode. |
// Set stdout/stderr blocking mode. |
127 |
bool Messages::stdoutBlock ( int fd, bool bBlock ) const |
bool Messages::stdoutBlock ( int fd, bool bBlock ) const |
128 |
{ |
{ |
161 |
#endif |
#endif |
162 |
} |
} |
163 |
|
|
164 |
|
#if defined(__WIN32__) || defined(_WIN32) || defined(WIN32) |
165 |
|
#pragma GCC diagnostic pop |
166 |
|
#endif |
167 |
|
|
168 |
|
|
169 |
// Stdout buffer handler -- now splitted by complete new-lines... |
// Stdout buffer handler -- now splitted by complete new-lines... |
170 |
void Messages::appendStdoutBuffer ( const QString& s ) |
void Messages::appendStdoutBuffer ( const QString& s ) |