diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-03-06 13:58:02 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-03-06 13:58:02 +0000 |
commit | 5ac45472c7af8ccf686ea93791e491899889f087 (patch) | |
tree | 9d64a00ac2ceff5686f247ad163839a880f71b71 /amiga/plugin.h | |
parent | bfadf014825099ca4021a083fca7a6a83d737331 (diff) | |
download | netsurf-5ac45472c7af8ccf686ea93791e491899889f087.tar.gz netsurf-5ac45472c7af8ccf686ea93791e491899889f087.tar.bz2 |
Fix broken CONTENT_PLUGIN API.
Add a default content handler for Amiga using the plugin interface, which passes
unknown files (currently images only) through DataTypes.
svn path=/trunk/netsurf/; revision=11924
Diffstat (limited to 'amiga/plugin.h')
-rw-r--r-- | amiga/plugin.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/amiga/plugin.h b/amiga/plugin.h new file mode 100644 index 000000000..669c5af5a --- /dev/null +++ b/amiga/plugin.h @@ -0,0 +1,37 @@ +/* + * Copyright 2011 Chris Young <chris@unsatisfactorysoftware.co.uk> + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef NETSURF_AMIGA_PLUGIN_H_ +#define NETSURF_AMIGA_PLUGIN_H_ + +#ifdef WITH_PLUGIN + +#include <intuition/classusr.h> + +#include "desktop/plugin.h" + +struct content_plugin_data { + Object *dto; + int x; + int y; + int w; + int h; +}; + +#endif /* WITH_PLUGIN */ +#endif |