added variable example

master
Tibor 1 year ago
parent f21aa58603
commit 04fe7a3236
  1. 14
      variables.example.h
  2. 14
      variables.h

@ -0,0 +1,14 @@
#ifndef VARIABLES_H
#define VARIABLES_H
#include <string>
namespace hdvars
{
static const std::string MQTT_HOSTNAME { "my.hostname.org" };
static const std::string MQTT_TOPIC { "my_topic/doorbell" };
static const std::uint32_t MQTT_PORT { 12345 };
}
#endif // VARIABLES_H

@ -1,14 +0,0 @@
#ifndef VARIABLES_H
#define VARIABLES_H
#include <string>
namespace hdvars
{
static const std::string MQTT_HOSTNAME { "taibsu.net" };
static const std::string MQTT_TOPIC { "taibsu_at_home/heimdall" };
static const std::uint32_t MQTT_PORT { 21883 };
}
#endif // VARIABLES_H