Commit c6c62b0152b3ef837f3d7341f045f5457fa096d2

Authored by Peter M. Groen
1 parent 66e26bc1

Preparating for public interface

include/mqttpublisherbase.h 0 → 100644
include/mqttsubscriberbase.h 0 → 100644
src/CMakeLists.txt
... ... @@ -31,9 +31,12 @@ include(compiler)
31 31  
32 32 include_directories(
33 33 ${CMAKE_CURRENT_SOURCE_DIR}/../logutils
  34 + ${CMAKE_CURRENT_SOURCE_DIR}/../include
34 35 )
35 36  
36 37 set(SRC_LIST
  38 + ${CMAKE_CURRENT_SOURCE_DIR}/mqttpublisherbase.cpp
  39 + ${CMAKE_CURRENT_SOURCE_DIR}/mqttsubscriberbase.cpp
37 40 ${CMAKE_CURRENT_SOURCE_DIR}/clientpaho.cpp
38 41 ${CMAKE_CURRENT_SOURCE_DIR}/commondefs.cpp
39 42 ${CMAKE_CURRENT_SOURCE_DIR}/connectionstatus.cpp
... ...
src/compat-chrono.h
... ... @@ -48,7 +48,11 @@ To ceil(const std::chrono::duration<Rep, Period>& d)
48 48 {
49 49 To t = std::chrono::duration_cast<To>(d);
50 50 if (t < d)
  51 + {
51 52 return t + To{ 1 };
  53 + }
  54 +
  55 + // or else...
52 56 return t;
53 57 }
54 58  
... ...
src/mqttpublisherbase.cpp 0 → 100644
src/mqttsubscriberbase.cpp 0 → 100644