Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hrydgard
GitHub Repository: hrydgard/ppsspp
Path: blob/master/Windows/W32Util/ShellUtil.h
3185 views
1
#pragma once
2
3
#include <string>
4
#include <string_view>
5
#include <vector>
6
#include <thread>
7
8
class Path;
9
10
namespace W32Util {
11
12
std::string BrowseForFolder2(HWND parent, std::string_view title, std::string_view initialPath);
13
bool BrowseForFileName(bool _bLoad, HWND _hParent, const wchar_t*_pTitle,
14
const wchar_t *_pInitialFolder, const wchar_t *_pFilter, const wchar_t*_pExtension,
15
std::string& _strFileName);
16
std::vector<std::string> BrowseForFileNameMultiSelect(bool _bLoad, HWND _hParent, const wchar_t*_pTitle,
17
const wchar_t*_pInitialFolder, const wchar_t*_pFilter, const wchar_t*_pExtension);
18
19
bool MoveToTrash(const Path &path);
20
std::string UserDocumentsPath();
21
22
bool CreateDesktopShortcut(std::string_view argumentPath, std::string_view gameTitle, const Path &icoFile);
23
bool CreateICOFromPNGData(const uint8_t *imageData, size_t imageDataSize, const Path &icoPath);
24
25
} // namespace
26
27