Elaztek Developer Hub
Blamite Game Engine - Keystone  00386.06.16.23.0646.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
editor_data.h
BlamKeystone::EditorData::LoadToolWindows
KEYSTONE void LoadToolWindows()
Loads all tool windows into the registered tool window list.
Definition: editor_data.cpp:52
BlamKeystone::GetQApplication
KEYSTONE QApplication * GetQApplication()
Retrieves the pointer to the current Qt application.
Definition: keystone_main.cpp:92
dll_handle
HMODULE dll_handle
Handle for the keystone library.
Definition: keystone_main.cpp:13
BlamKeystone
Namespace for anything within the Keystone library.
Definition: BlamEditorDocument.h:161
BlamKeystone::Tick::PrepareTick
BLAM void PrepareTick()
Prepares required data for the tick loop.
Definition: tick.cpp:34
keystone_main.h
themes.h
BlamKeystone::EditorData::UnloadDocumentConfigurations
KEYSTONE void UnloadDocumentConfigurations()
Unloads all document type configurations.
Definition: document_config.cpp:91
BlamKeystone::GetKeystoneDLLHandle
KEYSTONE HMODULE GetKeystoneDLLHandle()
Retrieves the handle for the Keystone library.
Definition: keystone_main.cpp:87
BlamEditorDocument.h
KEYSTONE_API
#define KEYSTONE_API
Definition: keystone_main.h:18
tick.h
BlamKeystone::EditorData::LoadDocumentConfigurations
KEYSTONE void LoadDocumentConfigurations()
Loads all document type configurations.
Definition: document_config.cpp:83
BlamKeystone::Themes::LoadThemes
KEYSTONE bool LoadThemes()
Loads all themes from Qt and the keystone theme folders.
Definition: themes.cpp:259
BlamKeystone::EditorData::UnloadToolWindows
KEYSTONE void UnloadToolWindows()
Unoads all registered tool windows.
Definition: editor_data.cpp:63
BlamKeystone::Tick::EndTickLoop
BLAM void EndTickLoop()
Terminates the tick loop.
Definition: tick.cpp:162
KEYSTONE
#define KEYSTONE
Macro to prevent name collisions for anything within the Keystone library.
Definition: keystone_main.h:12
DllMain
BOOL APIENTRY DllMain(HMODULE module_handle, DWORD reason, LPVOID reserved)
Entry point for keystone.dll.
Definition: keystone_main.cpp:77
qt_application
QApplication * qt_application
Pointer to the current Qt application.
Definition: keystone_main.cpp:12
BlamKeystone::Shutdown
KEYSTONE_API void Shutdown()
Definition: keystone_main.cpp:62
BlamKeystone::Tick::TickThread
BLAM void TickThread()
Function containing the tick loop.
Definition: tick.cpp:108
tick_thread
std::thread tick_thread
Definition: keystone_main.cpp:15