mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
66a759e2a1
filetype.c has been changed to get the MIME type of a file from the MIMETYPE tooltype of the icon or default icon for the file. The install script will set the basic of these, and icons for default.css and AdBlock.css have been added to ensure these always return the correct MIME type. If the MIMETYPE tooltype is not found, the code will use datatypes.library to identify the file and make a guess as to what the MIME type is. svn path=/trunk/netsurf/; revision=5651
28 lines
861 B
C
Executable File
28 lines
861 B
C
Executable File
/*
|
|
* Copyright 2008 Chris Young <chris@unsatisfactorysoftware.co.uk>
|
|
*
|
|
* This file is part of NetSurf.
|
|
*
|
|
* 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/>.
|
|
*/
|
|
|
|
/** \file
|
|
* Fetching of data from a URL (Registration).
|
|
*/
|
|
|
|
#ifndef AMIGA_FETCH_FILE_H
|
|
#define AMIGA_FETCH_FILE_H
|
|
|
|
void ami_fetch_file_register(void);
|
|
#endif
|