X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Flibs%2FPlugins%2Fpluginmanager.h;h=91a5b00947db662addc22238846e0dbd2e5fe00e;hb=de270ece1b764b19968e14420f538321f1c06b15;hp=c9806af14eda1916b3331612eeb1cacdb1997947;hpb=6fb7963d523b32158fc3d4b88a933825f8535a0b;p=evaf diff --git a/src/libs/Plugins/pluginmanager.h b/src/libs/Plugins/pluginmanager.h index c9806af..91a5b00 100644 --- a/src/libs/Plugins/pluginmanager.h +++ b/src/libs/Plugins/pluginmanager.h @@ -2,7 +2,7 @@ * @file Plugins/pluginmanager.h * @brief Manager for loadable modules (plugins) * - * Copyright (c) 2011 Enar Vaikene + * Copyright (c) 2011-2019 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * @@ -25,6 +25,7 @@ #include #include +#include namespace eVaf { @@ -65,6 +66,10 @@ inline QString expandPluginName(QString const & name) # endif #elif defined Q_OS_LINUX return "lib" + name + ".so"; +#elif defined Q_OS_CYGWIN + return "cyg" + name + ".dll"; +#elif defined Q_OS_MACOS + return "lib" + name + ".dylib"; #else return name; #endif @@ -127,7 +132,7 @@ signals: private: - Internal::PluginManagerPrivate * d; + QScopedPointer d; };