C runtime: Fix PLCObject.hpp preventing build.
authoretisserant <edouard.tisserant@gmail.com>
Fri, 16 Aug 2024 16:30:50 +0200
changeset 3977 2b0f8c4c8d02
parent 3963 38bebb9ee34e
child 3978 22ba103801ee
C runtime: Fix PLCObject.hpp preventing build.
C_runtime/PLCObject.hpp
--- a/C_runtime/PLCObject.hpp	Thu Aug 15 23:50:01 2024 +0200
+++ b/C_runtime/PLCObject.hpp	Fri Aug 16 16:30:50 2024 +0200
@@ -72,6 +72,10 @@
         uint32_t StartPLC(void);
         uint32_t StopPLC(bool * success);
 
+        // Public interface used by runtime
+        uint32_t AutoLoad();
+        uint32_t LogMessage(uint8_t level, std::string message);
+
     private:
         // A map of all the blobs
         std::map<std::vector<uint8_t>, Blob*> m_mapBlobIDToBlob;
@@ -108,14 +112,12 @@
         // Trace double buffer
         std::vector<trace_sample> m_traces;
 
-        uint32_t AutoLoad();
         uint32_t BlobAsFile(const binary_t * BlobID, std::filesystem::path filename);
         uint32_t LoadPLC(void);
         uint32_t UnLoadPLC(void);
-        uint32_t LogMessage(uint8_t level, std::string message);
         uint32_t PurgePLC(void);
         void PurgeTraceBuffer(void);
         void TraceThreadProc(void);
 };
 
-#endif
\ No newline at end of file
+#endif