/*
  SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>

  SPDX-License-Identifier: LGPL-2.0-or-later
*/

#pragma once

#include "contentjobbase.h"
#include "job/jobbase_p.h"

#include <KMime/Content>

namespace MessageComposer
{
class ContentJobBasePrivate : public JobBasePrivate
{
public:
    explicit ContentJobBasePrivate(ContentJobBase *qq)
        : JobBasePrivate(qq)
    {
    }

    void init(QObject *parent);
    void doNextSubjob();

    std::vector<std::unique_ptr<KMime::Content>> subjobContents;
    std::unique_ptr<KMime::Content> resultContent;

    Q_DECLARE_PUBLIC(ContentJobBase)
};
}
