20#ifndef LIBREPCB_CORE_ARCHIVEOUTPUTJOB_H
21#define LIBREPCB_CORE_ARCHIVEOUTPUTJOB_H
28#include <optional/tl/optional.hpp>
56 virtual QString
getTypeTr()
const noexcept override;
57 virtual QIcon
getTypeIcon()
const noexcept override;
65 void setInputJobs(
const QMap<Uuid, QString>& input)
noexcept;
71 return tr(
"Archive") %
" (*.zip)";
74 virtual std::shared_ptr<OutputJob>
cloneShared() const noexcept override;
File archiving (e.g. to ZIP) output job.
Definition: archiveoutputjob.h:45
virtual QString getTypeTr() const noexcept override
Definition: archiveoutputjob.cpp:70
void setOutputPath(const QString &path) noexcept
Definition: archiveoutputjob.cpp:93
const QMap< Uuid, QString > & getInputJobs() const noexcept
Definition: archiveoutputjob.h:59
virtual bool equals(const OutputJob &rhs) const noexcept override
Definition: archiveoutputjob.cpp:129
static QString getTypeName() noexcept
Definition: archiveoutputjob.h:69
QMap< Uuid, QString > mInputJobs
Job UUID, destination path.
Definition: archiveoutputjob.h:84
virtual void removeDependency(const Uuid &jobUuid) override
Definition: archiveoutputjob.cpp:104
static QString getTypeTrStatic() noexcept
Definition: archiveoutputjob.h:70
QString mOutputPath
Definition: archiveoutputjob.h:85
virtual QSet< Uuid > getDependencies() const noexcept override
Definition: archiveoutputjob.cpp:78
virtual ~ArchiveOutputJob() noexcept
Definition: archiveoutputjob.cpp:63
virtual QIcon getTypeIcon() const noexcept override
Definition: archiveoutputjob.cpp:74
virtual void serializeDerived(SExpression &root) const override
Definition: archiveoutputjob.cpp:118
void setInputJobs(const QMap< Uuid, QString > &input) noexcept
Definition: archiveoutputjob.cpp:86
const QString & getOutputPath() const noexcept
Definition: archiveoutputjob.h:62
ArchiveOutputJob() noexcept
Definition: archiveoutputjob.cpp:39
virtual std::shared_ptr< OutputJob > cloneShared() const noexcept override
Definition: archiveoutputjob.cpp:110
Base class for all output job types.
Definition: outputjob.h:50
The SExpression class.
Definition: sexpression.h:69
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
Definition: occmodel.cpp:77