#pragma once

#include "BufferedBuildingContent.h"
#include "SelectionContentFactory.h"

// The card for a Smelter or a Reprocessing Plant (REQ-UI-SELECTION-CONTENT). Both
// auto-process whatever they receive and have no player-facing recipe selection
// (REQ-BLD-SMELTER, REQ-BLD-REPROCESSING), so the card has no configuration group at
// all; its cycle is whichever recipe is currently in production.
class AutoProductionContent : public BufferedBuildingContent
{
    Q_OBJECT

public:
    AutoProductionContent(const SelectionContext& context,
                          const SelectionRequest& request, QWidget* parent = nullptr);

protected:
    CycleInfo getCycleInfo(const BuildingTarget& target) const override;
};
