This commit is contained in:
Aria 2025-03-21 22:23:30 +11:00
commit 9c94d113d3
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
10260 changed files with 1237388 additions and 0 deletions

View file

@ -0,0 +1,27 @@
#ifndef STAR_AUGMENT_ITEM_HPP
#define STAR_AUGMENT_ITEM_HPP
#include "StarItem.hpp"
namespace Star {
STAR_CLASS(AugmentItem);
class AugmentItem : public Item {
public:
AugmentItem(Json const& config, String const& directory, Json const& parameters = JsonObject());
AugmentItem(AugmentItem const& rhs);
ItemPtr clone() const override;
StringList augmentScripts() const;
// Makes no change to the given item if the augment can't be applied.
// Consumes itself and returns true if the augment is applied.
// Has no effect if augmentation fails.
ItemPtr applyTo(ItemPtr const item);
};
}
#endif