diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-09 17:46:26 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-09 17:46:26 +0200 |
commit | 7a1eccc13dc0828c292dc1cc6d1556fa38011da3 (patch) | |
tree | d252a36e78f42a65aa052aa5f9cc9e7e60ba2c69 /sinksh/state.h | |
parent | 7b620d6baf986dfac679fe0ad4a66a8ffc892d86 (diff) | |
download | sink-7a1eccc13dc0828c292dc1cc6d1556fa38011da3.tar.gz sink-7a1eccc13dc0828c292dc1cc6d1556fa38011da3.zip |
sinksh: support for printing tables
Diffstat (limited to 'sinksh/state.h')
-rw-r--r-- | sinksh/state.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sinksh/state.h b/sinksh/state.h index 2a0eb7c..0796caf 100644 --- a/sinksh/state.h +++ b/sinksh/state.h | |||
@@ -30,6 +30,9 @@ public: | |||
30 | void printLine(const QString &message = QString(), unsigned int indentationLevel = 0) const; | 30 | void printLine(const QString &message = QString(), unsigned int indentationLevel = 0) const; |
31 | void printError(const QString &errorMessage, const QString &errorCode = QString()) const; | 31 | void printError(const QString &errorMessage, const QString &errorCode = QString()) const; |
32 | 32 | ||
33 | void stageTableLine(const QStringList &) const; | ||
34 | void flushTable() const; | ||
35 | |||
33 | void setDebugLevel(unsigned int level); | 36 | void setDebugLevel(unsigned int level); |
34 | unsigned int debugLevel() const; | 37 | unsigned int debugLevel() const; |
35 | 38 | ||
@@ -46,6 +49,9 @@ public: | |||
46 | static bool hasEventLoop(); | 49 | static bool hasEventLoop(); |
47 | 50 | ||
48 | private: | 51 | private: |
52 | void printTable(const QList<QStringList> &) const; | ||
53 | |||
54 | private: | ||
49 | class Private; | 55 | class Private; |
50 | Private *const d; | 56 | Private *const d; |
51 | }; | 57 | }; |