Index: src/OFPlugin.h ================================================================== --- src/OFPlugin.h +++ src/OFPlugin.h @@ -32,12 +32,12 @@ { of_plugin_handle_t handle; } /** - * \brief Loads an OFPlugin from a file. + * \brief Loads a plugin from a file. * - * \param path Path to the OFPlugin file. The suffix is appended automatically. - * \return The loaded OFPlugin + * \param path Path to the plugin file. The suffix is appended automatically. + * \return The loaded plugin */ -+ pluginFromFile: (OFString*)path; ++ (id)pluginFromFile: (OFString*)path; @end Index: src/OFPlugin.m ================================================================== --- src/OFPlugin.m +++ src/OFPlugin.m @@ -35,11 +35,11 @@ # define dlsym(handle, symbol) GetProcAddress(handle, symbol) # define dlclose(handle) FreeLibrary(handle) #endif @implementation OFPlugin -+ pluginFromFile: (OFString*)path ++ (id)pluginFromFile: (OFString*)path { OFAutoreleasePool *pool; OFMutableString *file; of_plugin_handle_t handle; OFPlugin *(*initPlugin)();