]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/dynamic.h
Merge tag 'v2.0.26' into master.
[user/henk/code/inspircd.git] / include / dynamic.h
index 3be91992963380455df0023e34109670702d11c8..905eb479e9ed02efe5eabb21f5458ea44b21d30d 100644 (file)
@@ -20,8 +20,7 @@
  */
 
 
-#ifndef DLL_H
-#define DLL_H
+#pragma once
 
 /** The DLLManager class is able to load a module file by filename,
  * and locate its init_module symbol.
@@ -33,6 +32,10 @@ class CoreExport DLLManager : public classbase
         */
        std::string err;
 
+       /** Sets the last error string
+       */
+       void RetrieveLastError();
+
  public:
        /** This constructor loads the module using dlopen()
         * @param fname The filename to load. This should be within
@@ -59,6 +62,3 @@ class CoreExport DLLManager : public classbase
        /** Get detailed version information from the module file */
        std::string GetVersion();
 };
-
-#endif
-