aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/qio.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2014-12-06 17:33:25 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2014-12-06 17:33:25 -0500
commit7167ce41b61d2ba2cdb526777a4233eb84a3b66a (patch)
treea35c14143716e1f2c98f808c81f89426045a946f /SQLiteStudio3/coreSQLiteStudio/qio.h
Imported Upstream version 2.99.6upstream/2.99.6
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/qio.h')
-rw-r--r--SQLiteStudio3/coreSQLiteStudio/qio.h33
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