Attica

buildservicejoboutput.h
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2010 Dan Leinir Turthra Jensen <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8 #ifndef ATTICA_BUILDSERVICEJOBOUTPUT_H
9 #define ATTICA_BUILDSERVICEJOBOUTPUT_H
10 
11 #include <QtCore/QList>
12 #include <QtCore/QSharedDataPointer>
13 #include <QtCore/QString>
14 
15 #include "attica_export.h"
16 
17 namespace Attica
18 {
19 
20 /**
21  * @class BuildServiceJobOutput buildservicejoboutput.h <Attica/BuildServiceJobOutput>
22  *
23  * Represents the ouput of a build service job.
24  */
25 class ATTICA_EXPORT BuildServiceJobOutput
26 {
27 public:
29  class Parser;
30 
33  BuildServiceJobOutput &operator=(const BuildServiceJobOutput &other);
35 
36  void setOutput(const QString &output);
37  QString output() const;
38 
39  bool isRunning() const;
40  bool isCompleted() const;
41  bool isFailed() const;
42 
43  bool isValid() const;
44 
45 private:
46  class Private;
48 };
49 
50 } // namespace Attica
51 
52 #endif // ATTICA_BUILDSERVICEJOBOUTPUT_H
The Attica namespace,.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:05:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.