Changed includes
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
#include <string>
|
||||
#include "Service.h"
|
||||
#include "thrawn_api.h"
|
||||
#include "mqttpp.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "Cache.h"
|
||||
#include "LuaEngine.h"
|
||||
@@ -11,6 +10,7 @@
|
||||
#include "Version.h"
|
||||
#include <cstring>
|
||||
#include <thread>
|
||||
#include "mqtt++.h"
|
||||
|
||||
std::vector<std::string> lua_scripts_in_folder(const std::string& path_str) {
|
||||
std::vector<std::string> scripts;
|
||||
@@ -35,6 +35,7 @@ int main(int argc, char* argv[]) {
|
||||
std::string mqttServerURI = "tcp://chimaera:1883";
|
||||
mqttpp::LastWill last_will {"dev/thrawn/status", "0"};
|
||||
std::string version_topic = "dev/thrawn/version";
|
||||
|
||||
std::string version_topic_value = std::to_string(THRAWN_MAJOR_VERSION) + "." + std::to_string(THRAWN_MINOR_VERSION) + "." + std::to_string(THRAWN_PATCH_VERSION);
|
||||
std::string lastWillConnected = "1";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user