Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
PlatformUtils.cpp File Reference
#include "rvpch.h"
#include "PlatformUtils.h"
#include "Raven/Core/Filesystem.h"
#include <Windows.h>
#include <shlobj_core.h>
#include "Raven/Core/Window.h"

Namespaces

namespace  Raven
namespace  Raven::FileDialogs

Macros

#define WIN32_LEAN_AND_MEAN

Functions

std::string Raven::FileDialogs::OpenFile (const char *filter)
 Opens a native Windows file open dialog and returns the selected file path.
std::string Raven::FileDialogs::SaveFile (const char *filter)
 Opens a native Windows file save dialog and returns the selected file path.
bool Raven::FileDialogs::OpenExplorer (const std::filesystem::path &path)
 Opens the file explorer at the given Path.
std::string Raven::FileDialogs::OpenFolder ()
 Opens a native Windows folder browser dialog and returns the selected folder path.
void Raven::FileDialogs::OpenURL (const std::string &url)
 Opens a the given URL in the default browser.

Macro Definition Documentation

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN