Elaztek Developer Hub
Blamite Game Engine - Strings  00381.04.17.23.2324.blamite
A library containing general purpose utilities and classes for use in multiple projects.
strings_api.h
Go to the documentation of this file.
1 // Blamite Game Engine - Strings.dll Core Header //
3 // Copyright (c) 2013-2021 Elaztek Studios //
5 
6 #pragma once
7 
8 #include <string>
9 #include <windows.h>
10 
11 #ifdef STRINGS_EXPORTS
12 #define STRINGS_API __declspec(dllexport)
13 #else
14 #define STRINGS_API __declspec(dllimport)
15 #endif
16 
23 namespace BlamStrings
24 {
37  STRINGS_API const char* GetStringFromID(int string_id, int max_length);
38 
45 }
BlamStrings
Namespace for Blamite's shared C++ library.
Definition: events.h:172
STRINGS_API
#define STRINGS_API
Definition: strings_api.h:14
BlamStrings::GetStringFromID
const STRINGS_API char * GetStringFromID(int string_id, int max_length)
Retrieves a string from its ID.
Definition: main.cpp:14
BlamStrings::GetStringsDLLHandle
STRINGS_API HMODULE GetStringsDLLHandle()
Retrieves the module handle for the Strings library.
Definition: main.cpp:44