GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::events::ExternalApplication Class Reference

Utility class for opening external applications through the host environment. More...

#include <GREM/events/ExternalApplication.hpp>

Public Member Functions

 ExternalApplication ()=delete
 External application objects are not intended to be constructed directly.

Static Public Member Functions

static void openURL (CStringView url)
 Open a URL/URI in an appropriate external application.

Detailed Description

Utility class for opening external applications through the host environment.

Constructor & Destructor Documentation

◆ ExternalApplication()

grem::events::ExternalApplication::ExternalApplication ( )
delete

External application objects are not intended to be constructed directly.

Member Function Documentation

◆ openURL()

void grem::events::ExternalApplication::openURL ( CStringView url)
static

Open a URL/URI in an appropriate external application.

Parameters
urlvalid URL/URI to open.
Exceptions
events::Erroron failure to open the URL.
std::length_errorif an internal size limit was exceeded.
std::bad_array_new_lengthif an internal size limit was exceeded.
std::bad_allocon allocation failure.

The documentation for this class was generated from the following file: