mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2026-01-24 21:42:53 -05:00
18 lines
425 B
C++
18 lines
425 B
C++
#include <koalabox/win.hpp>
|
|
|
|
#include "smoke_api/smoke_api.hpp"
|
|
|
|
// This header will be populated at build time
|
|
#include "linker_exports_for_steam_api.h"
|
|
#include "linker_exports_for_version.h"
|
|
|
|
DLL_MAIN(void* handle, const uint32_t reason, void*) {
|
|
if(reason == DLL_PROCESS_ATTACH) {
|
|
smoke_api::init(handle);
|
|
} else if(reason == DLL_PROCESS_DETACH) {
|
|
smoke_api::shutdown();
|
|
}
|
|
|
|
return TRUE;
|
|
}
|