diff options
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/qio.h')
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/qio.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/qio.h b/SQLiteStudio3/coreSQLiteStudio/qio.h new file mode 100644 index 0000000..f97962c --- /dev/null +++ b/SQLiteStudio3/coreSQLiteStudio/qio.h @@ -0,0 +1,33 @@ +#ifndef QIO_H +#define QIO_H + +#include "coreSQLiteStudio_global.h" +#include <QTextStream> + +/** @file */ + +/** + * @brief Standard output stream. + * + * This is pretty much the same as std::cout, except it's based on QTextStream, + * therefore accepts larger range of data types. + */ +API_EXPORT extern QTextStream qOut; + +/** + * @brief Standard input stream. + * + * This is pretty much the same as std::cin, except it's based on QTextStream, + * therefore accepts larger range of data types. + */ +API_EXPORT extern QTextStream qIn; + +/** + * @brief Standard error stream. + * + * This is pretty much the same as std::cerr, except it's based on QTextStream, + * therefore accepts larger range of data types. + */ +API_EXPORT extern QTextStream qErr; + +#endif // QIO_H |
