X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fdynamic.h;h=905eb479e9ed02efe5eabb21f5458ea44b21d30d;hb=c60f88bb5ce23d1291dddfd3e15ba71c801b7d3c;hp=3be91992963380455df0023e34109670702d11c8;hpb=fcacc8e0306382bc3f938073092c3729d77e2b41;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/dynamic.h b/include/dynamic.h index 3be919929..905eb479e 100644 --- a/include/dynamic.h +++ b/include/dynamic.h @@ -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 -