@@ -15,24 +15,15 @@ * The OFPlugin class provides a system for loading plugins at runtime. */ @interface OFPlugin: OFObject { void *handle; - id plugin; } /** * Loads an OFPlugin from a file. * * \param path Path to the OFPlugin file. The suffix is appended automatically. * \return A new autoreleased OFPlugin */ + pluginFromFile: (const char*)path; - -/** - * Initializes an already allocated OFPlugin from a file. - * - * \param path Path to the OFPlugin file. The suffix is appended automatically. - * \return An initialized OFPlugin - */ -- initFromFile: (const char*)path; @end