TODO: Implement shortcut creation for Apple.

This commit is contained in:
boludoz
2023-10-18 02:35:23 -03:00
parent 4051bbbed7
commit ac6290bea7
3 changed files with 15 additions and 2 deletions

View File

@ -441,6 +441,8 @@ private:
bool ConfirmShutdownGame();
QString GetTasStateDescription() const;
// TODO: Implement shortcut creation for macOS
#if !defined(__APPLE__)
bool CreateShortcutMessagesGUI(QWidget* parent, int imsg, const QString& game_title);
bool MakeShortcutIcoPath(const u64 program_id, const std::string_view game_file_name,
std::filesystem::path& out_icon_path);
@ -449,6 +451,7 @@ private:
const std::filesystem::path& command, const std::string& arguments,
const std::string& categories, const std::string& keywords,
const std::string& name);
#endif
/**
* Mimic the behavior of QMessageBox::question but link controller navigation to the dialog
* The only difference is that it returns a boolean.