From 460b99583bcf6da4462f13ad75856283849904e7 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 4 Nov 2024 02:37:02 -0500 Subject: main.cpp does work for standalone entry --- wizard.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'wizard.h') diff --git a/wizard.h b/wizard.h index 9b27143..a02197b 100644 --- a/wizard.h +++ b/wizard.h @@ -1,6 +1,8 @@ #ifndef WIZARD_H_1014B13E #define WIZARD_H_1014B13E +#include + #include #include @@ -9,17 +11,17 @@ class wizard { public: - wizard(std::string cardsPath, std::string cachePath, std::string outputPath, - std::string jsonPath, std::mt19937& rng); + wizard(const cardset& cards, const imagestore& images, std::string text, + std::mt19937& rng); - void run(); + Magick::Image run(); private: - cardset cards_; - imagestore images_; - std::string outputPath_; - std::string jsonPath_; - std::mt19937& rng_; + const cardset& cards_; + const imagestore& images_; + std::string text_; + + std::mt19937 rng_; }; #endif /* end of include guard: WIZARD_H_1014B13E */ -- cgit 1.4.1