File indexing completed on 2024-04-14 16:00:15

0001 #include "version.h"
0002 
0003 #ifdef EMSCRIPTEN
0004 
0005 #include <emscripten.h>
0006 #include <emscripten/bind.h>
0007 #include <emscripten/val.h>
0008 
0009 EMSCRIPTEN_BINDINGS(version) {
0010     emscripten::class_<Version>("Version")
0011         .constructor<>()
0012         .property("hash", &Version::hash)
0013         .property("date", &Version::date)
0014         .property("url", &Version::url)
0015         .property("qtVersion", &Version::qtVersion);
0016 }
0017 
0018 #endif