# HG changeset patch
# User etisserant <edouard.tisserant@gmail.com>
# Date 1723818650 -7200
# Node ID 2b0f8c4c8d02013078c7207a1d548875057aa0d6
# Parent  38bebb9ee34e201880b24e80d42469b149aa841b
C runtime: Fix PLCObject.hpp preventing build.

diff -r 38bebb9ee34e -r 2b0f8c4c8d02 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