Elaztek Developer Hub
Blamite Game Engine - Keystone  00381.04.17.23.2324.blamite
A library that enables the use of Qt in Blamite's editing tools.
keystone_main.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QtWidgets/QApplication>
4 #include <Windows.h>
5 
6 #ifndef KEYSTONE
7 
12 #define KEYSTONE
13 #endif
14 
15 #ifdef KEYSTONE_EXPORTS
16 #define KEYSTONE_API extern "C" __declspec(dllexport)
17 #else
18 #define KEYSTONE_API extern "C" __declspec(dllimport)
19 #endif
20 
24 namespace BlamKeystone
25 {
32 
38  KEYSTONE QApplication* GetQApplication();
39 
43  KEYSTONE_API void Initialize();
44  KEYSTONE_API void Shutdown();
45 }
BlamKeystone::Initialize
KEYSTONE_API void Initialize()
Initialize any data needed for Keystone/Qt.
Definition: keystone_main.cpp:17
BlamKeystone::GetQApplication
KEYSTONE QApplication * GetQApplication()
Retrieves the pointer to the current Qt application.
Definition: keystone_main.cpp:88
BlamKeystone
Namespace for anything within the Keystone library.
Definition: BlamEditorDocument.h:161
BlamKeystone::GetKeystoneDLLHandle
KEYSTONE HMODULE GetKeystoneDLLHandle()
Retrieves the handle for the Keystone library.
Definition: keystone_main.cpp:83
KEYSTONE_API
#define KEYSTONE_API
Definition: keystone_main.h:18
KEYSTONE
#define KEYSTONE
Macro to prevent name collisions for anything within the Keystone library.
Definition: keystone_main.h:12
BlamKeystone::Shutdown
KEYSTONE_API void Shutdown()
Definition: keystone_main.cpp:62