diff options
Diffstat (limited to 'akonadi2_cli/state.h')
-rw-r--r-- | akonadi2_cli/state.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/akonadi2_cli/state.h b/akonadi2_cli/state.h index 10b2318..4fd2935 100644 --- a/akonadi2_cli/state.h +++ b/akonadi2_cli/state.h | |||
@@ -19,11 +19,18 @@ | |||
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | ||
22 | #include <QStringList> | 22 | #include <QTextStream> |
23 | 23 | ||
24 | class State | 24 | class State |
25 | { | 25 | { |
26 | public: | 26 | public: |
27 | State(); | 27 | State(); |
28 | |||
29 | void print(const QString &string); | ||
30 | void printLine(const QString &string); | ||
31 | void printError(const QString &string, int errorCode = 0); | ||
32 | |||
33 | private: | ||
34 | QTextStream m_outStream; | ||
28 | }; | 35 | }; |
29 | 36 | ||