imgICache interface
More...
import "imgICache.idl";
List of all members.
Detailed Description
imgICache interface
- Author:
- Stuart Parmenter <pavlov@netscape.com>
- Version:
- 0.1
- See also:
- imagelib2
Member Function Documentation
| void imgICache::clearCache |
( |
in boolean |
chrome |
) |
|
Evict images from the cache.
- Parameters:
-
| chrome | If TRUE, evict only chrome images. If FALSE, evict everything except chrome images. |
Find Properties Used to get properties such as 'type' and 'content-disposition' 'type' is a nsISupportsCString containing the images' mime type such as 'image/png' 'content-disposition' will be a nsISupportsCString containing the header If you call this before any data has been loaded from a URI, it will succeed, but come back empty.
- Parameters:
-
- Returns:
- NULL if the URL was not found in the cache
| void imgICache::removeEntry |
( |
in nsIURI |
uri |
) |
|
Evict images from the cache.
- Parameters:
-
- Returns:
- NS_OK if uri was removed from the cache. NS_ERROR_NOT_AVAILABLE if uri was unable to be removed from the cache.
The documentation for this interface was generated from the following file: