diff options
Diffstat (limited to 'src/modules/UserConfigBackendHome')
-rw-r--r-- | src/modules/UserConfigBackendHome/Module.cpp | 4 | ||||
-rw-r--r-- | src/modules/UserConfigBackendHome/UserConfigBackendHome.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/UserConfigBackendHome/Module.cpp b/src/modules/UserConfigBackendHome/Module.cpp index cab1b80..e431e51 100644 --- a/src/modules/UserConfigBackendHome/Module.cpp +++ b/src/modules/UserConfigBackendHome/Module.cpp @@ -17,11 +17,13 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "../export.h" + #include "Module.h" extern "C" { -Mad::Common::Module* UserConfigBackendHome_create(Mad::Common::Application *application) { +MAD_MODULE_EXPORT Mad::Common::Module* UserConfigBackendHome_create(Mad::Common::Application *application) { return new Mad::Modules::UserConfigBackendHome::Module(application); } diff --git a/src/modules/UserConfigBackendHome/UserConfigBackendHome.cpp b/src/modules/UserConfigBackendHome/UserConfigBackendHome.cpp index b68268b..1a2a5c4 100644 --- a/src/modules/UserConfigBackendHome/UserConfigBackendHome.cpp +++ b/src/modules/UserConfigBackendHome/UserConfigBackendHome.cpp @@ -50,7 +50,7 @@ bool UserConfigBackendHome::handleConfigEntry(const Core::ConfigEntry &entry, bo char *endptr; unsigned long val = std::strtoul(entry[1][0].c_str(), &endptr, 8); if(*endptr || val > 07777) { - application->logf(Core::LoggerBase::WARNING, "UserBackendHome: Invalid configuration: DirMode '%s'", entry[1][0].c_str()); + application->logf(Core::LoggerBase::LOG_WARNING, "UserBackendHome: Invalid configuration: DirMode '%s'", entry[1][0].c_str()); } else { dirMode = val; |