00001 /* 00002 * Copyright (c) 2008 - 2009 00003 * Jonathan Schleifer <js@webkeks.org> 00004 * 00005 * All rights reserved. 00006 * 00007 * This file is part of ObjFW. It may be distributed under the terms of the 00008 * Q Public License 1.0, which can be found in the file LICENSE included in 00009 * the packaging of this file. 00010 */ 00011 00012 #import "OFObject.h" 00013 #import "OFString.h" 00014 00015 #ifndef _WIN32 00016 typedef void* of_plugin_handle_t; 00017 #else 00018 #include <windows.h> 00019 typedef HMODULE of_plugin_handle_t; 00020 #endif 00021 00025 @interface OFPlugin: OFObject 00026 { 00027 of_plugin_handle_t handle; 00028 } 00029 00036 + pluginFromFile: (OFString*)path; 00037 @end