added module system

This commit is contained in:
Ryzerth
2020-08-07 14:29:06 +02:00
parent 9d2b60b88e
commit 7759de96da
10 changed files with 203 additions and 20 deletions

View File

@ -10,6 +10,7 @@
#include <version.h>
#include <spdlog/spdlog.h>
#include <bandplan.h>
#include <module.h>
#ifdef _WIN32
#include <Windows.h>
@ -72,6 +73,11 @@ int main() {
spdlog::info("Loading band plans color table");
bandplan::loadColorTable("band_colors.json");
spdlog::info("Loading test module");
//mod::loadModule("../modules/demo/build/Release/demo.dll", "Demo Module 1");
//mod::loadModule("../modules/demo/build/Release/demo.dll", "Demo Module 2");
//mod::loadModule("../modules/demo/build/Release/demo.dll", "Demo Module 3");
spdlog::info("Ready.");
// Main loop