mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-18 19:25:23 +01:00
25 lines
650 B
C++
25 lines
650 B
C++
#pragma once
|
|
|
|
namespace gui::utils
|
|
{
|
|
enum class shortcut_location
|
|
{
|
|
desktop,
|
|
applications,
|
|
#ifdef _WIN32
|
|
rpcs3_shortcuts,
|
|
#endif
|
|
};
|
|
|
|
bool create_shortcut(const std::string& name,
|
|
const std::string& path,
|
|
const std::string& serial,
|
|
const std::string& target_cli_args,
|
|
const std::string& description,
|
|
const std::string& src_icon_path,
|
|
const std::string& target_icon_dir,
|
|
shortcut_location shortcut_location);
|
|
|
|
void remove_shortcuts(const std::string& name, const std::string& serial);
|
|
}
|