diff --git a/src/libcalamares/Settings.h b/src/libcalamares/Settings.h index 4d7568c7d..c72e30421 100644 --- a/src/libcalamares/Settings.h +++ b/src/libcalamares/Settings.h @@ -57,6 +57,15 @@ public: bool debugMode() const; bool doChroot() const; + /** @brief Distinguish between "install" and "setup" modes. + * + * This influences user-visible strings, for instance using the + * word "setup" instead of "install" where relevant. + * + * NOTE: it's a synonym for !doChroot() for now, but may become + * an independent setting. + */ + bool isSetupMode() const { return !doChroot(); } bool disableCancel() const;