/* This file is part of KDE. SPDX-FileCopyrightText: 2010 Dan Leinir Turthra Jensen SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef ATTICA_BUILDSERVICEJOBOUTPUT_H #define ATTICA_BUILDSERVICEJOBOUTPUT_H #include #include #include #include "attica_export.h" namespace Attica { /** * @class BuildServiceJobOutput buildservicejoboutput.h * * Represents the ouput of a build service job. */ class ATTICA_EXPORT BuildServiceJobOutput { public: typedef QList List; class Parser; BuildServiceJobOutput(); BuildServiceJobOutput(const BuildServiceJobOutput &other); BuildServiceJobOutput &operator=(const BuildServiceJobOutput &other); ~BuildServiceJobOutput(); void setOutput(const QString &output); QString output() const; bool isRunning() const; bool isCompleted() const; bool isFailed() const; bool isValid() const; private: class Private; QSharedDataPointer d; }; } // namespace Attica #endif // ATTICA_BUILDSERVICEJOBOUTPUT_H