#include "global.h" #include #include "Core/Base/global_include.h" #include "Core/system/export.h" namespace Psc { void set_help_text(QWidget* widget, const QString& text) { widget->setToolTip(text); widget->setStatusTip(text); widget->setWhatsThis(text); } std::string get_config_dir() { std::string ret = Psc::get_exe_dir() + "/psc_config"; create_dir_if_not_exists(ret); return ret; } Base_Cache::Base_Cache(std::string_view id) : id(id) { } std::string Base_Cache::get_config_path() const { return get_config_dir() + "/" + id + "_config.json"; } } // namespace Psc