SDL3pp
A slim C++ wrapper for SDL3
Toggle main menu visibility
Loading...
Searching...
No Matches
SDL3pp
SDL3pp_misc.h
1
#ifndef SDL3PP_MISC_H_
2
#define SDL3PP_MISC_H_
3
4
#include <SDL3/SDL_misc.h>
5
#include "SDL3pp_error.h"
6
#include "SDL3pp_stdinc.h"
7
8
namespace
SDL
{
9
17
48
inline
void
OpenURL
(
StringParam
url) {
CheckError
(SDL_OpenURL(url)); }
49
51
52
}
// namespace SDL
53
54
#endif
/* SDL3PP_MISC_H_ */
SDL::StringParam
Helpers to use C++ strings parameters.
Definition
SDL3pp_strings.h:58
SDL::CheckError
constexpr void CheckError(bool result)
Check and throw if returned value from SDL is an error.
Definition
SDL3pp_error.h:199
SDL::OpenURL
void OpenURL(StringParam url)
Open a URL/URI in the browser or other appropriate external application.
Definition
SDL3pp_misc.h:48
SDL
Main include header for the SDL3pp library.
Generated by
1.17.0