#include <Windows.h>
#include <ShObjIdl.h>
#include <Urlmon.h>
#include <filesystem>
#include <string>
#include <optional>
#include <vector>
#include <fstream>
#include <cctype>
#include <algorithm>
#include <system_error>
#include "PathManager.h"
#include "imgui.h"
#include "ImGuiToaster.h"
Go to the source code of this file.
|
| const std::filesystem::path & | AssetIO::assetsDir (AssetKind kind) |
| |
| std::string | AssetIO::slugify (const std::string &s) |
| |
| std::filesystem::path | AssetIO::uniqueName (const std::filesystem::path &destDir, const std::string &baseFile) |
| |
| std::optional< std::filesystem::path > | AssetIO::pickImageFileWin32 () |
| |
| bool | AssetIO::importFromPath (AssetKind kind, const std::filesystem::path &srcPath, std::filesystem::path *outDst=nullptr, std::string *outError=nullptr) |
| |
| bool | AssetIO::importFromPicker (AssetKind kind, std::filesystem::path *outDst=nullptr, std::string *outError=nullptr) |
| |
| std::vector< std::filesystem::path > | AssetIO::pickImageFilesWin32 () |
| |
| bool | AssetIO::importManyFromPicker (AssetKind kind, std::vector< std::filesystem::path > *outDsts=nullptr, std::string *outError=nullptr) |
| |
| bool | AssetIO::importFromUrl (AssetKind kind, const std::wstring &urlW, std::filesystem::path *outDst=nullptr, std::string *outError=nullptr) |
| |
| std::vector< std::filesystem::path > | AssetIO::listAssets (AssetKind kind) |
| |
| bool | AssetIO::deleteAsset (AssetKind kind, const std::filesystem::path &file, std::string *outError=nullptr) |
| |
| void | AssetIO::openDeleteAssetPopUp (std::weak_ptr< ImGuiToaster > toaster_) |
| |
| void | AssetIO::openUrlAssetPopUp (std::weak_ptr< ImGuiToaster > toaster_) |
| |
◆ NOMINMAX
◆ WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN |