C_runtime/PLCObject.hpp
changeset 4007 76dede1e3403
parent 3977 2b0f8c4c8d02
child 4032 1ffff67678ad
--- a/C_runtime/PLCObject.hpp	Thu Aug 22 12:16:45 2024 +0200
+++ b/C_runtime/PLCObject.hpp	Sat Sep 07 12:50:57 2024 +0200
@@ -71,7 +71,10 @@
         uint32_t SetTraceVariablesList(const list_trace_order_1_t * orders, int32_t * debugtoken);
         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
@@ -112,10 +115,9 @@
         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