Elaztek Developer Hub
Blamite Game Engine - Strings  00379.04.17.23.2049.blamite
A library containing general purpose utilities and classes for use in multiple projects.
utilities.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Windows.h>
4 #include <string>
5 
6 #ifdef STRINGS_EXPORTS
7 #define STRINGS_API __declspec(dllexport)
8 #else
9 #define STRINGS_API __declspec(dllimport)
10 #endif
11 
12 namespace BlamStrings
13 {
17  namespace Utils
18  {
24  STRINGS_API void OpenWebURL(std::string url);
25 
31  STRINGS_API void OpenLocalWebURL(std::string local_path);
32  }
33 }
BlamStrings
Namespace for Blamite's shared C++ library.
Definition: events.h:172
BlamStrings::Utils::OpenLocalWebURL
STRINGS_API void OpenLocalWebURL(std::string local_path)
Opens the specified relative path in the user's default web browser.
Definition: web.cpp:9
STRINGS_API
#define STRINGS_API
Definition: utilities.h:9
BlamStrings::Utils::OpenWebURL
STRINGS_API void OpenWebURL(std::string url)
Opens the specified URL in the user's default web browser.
Definition: web.cpp:4