diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-05-09 22:11:18 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-05-09 22:11:18 +0000 |
commit | 1f1fe78c17da956739061eee22fc91d6e40fb85a (patch) | |
tree | 6ec5888b424b15f420059b9f7887b7f7c67d9156 /amiga/object.h | |
parent | 3276ce5db94774c1afa3e6683f706023551a2dd8 (diff) | |
download | netsurf-1f1fe78c17da956739061eee22fc91d6e40fb85a.tar.gz netsurf-1f1fe78c17da956739061eee22fc91d6e40fb85a.tar.bz2 |
New style MIME typing; maps MIME types to DataTypes and DefIcon format names.
Currently only able to resolve DataTypes to MIME Types.
TODO:
- DT MIME type guessing needs mostly removing (only use if no matches in mimetypes
file)
- Migrate the rest of filetype.c to the new format (can filetype using icon.library
and reverse lookup MIME type, for example)
- Use to distinguish between CONTENT_IMAGE types
- Simplify so DefIcon type defaults to lowercase DataType name
svn path=/trunk/netsurf/; revision=12360
Diffstat (limited to 'amiga/object.h')
-rwxr-xr-x | amiga/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/amiga/object.h b/amiga/object.h index 48361ddce..3cb428d55 100755 --- a/amiga/object.h +++ b/amiga/object.h @@ -35,6 +35,7 @@ enum AMINS_GUIOPTSWINDOW, AMINS_PRINTWINDOW, AMINS_FONT, + AMINS_MIME }; struct nsObject |