diff -r 92a765b5b3e7 -r 91031d3aab7d webengine/wmlengine/src/utils/include/ImageUtils.h --- a/webengine/wmlengine/src/utils/include/ImageUtils.h Mon May 03 13:32:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,54 +0,0 @@ -/* -* Copyright (c) 2000 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of the License "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - - -#ifndef IMAGEUTILS_H -#define IMAGEUTILS_H - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - -// This enum allows the BrowserUI to display the image content-types -// that are supported and displayable by the browser, but not recognized by -// the SymbianOS. These are mostly image data with no indication of their -// content-type in their data, i.e. GIF files have "GIF89" as the first -// few bytes in the data. -// ERecognizedImage: SymbianOS recognizes the image content-type and no -// special handling is required. -// EUnsupportedImage: The browser and SymbianOS doesn't support this -// image and it will not display it. -// EWbmpImage, EOtaImage, etc: These are images that we support and display, -// but SymbianOS doesn't recognize, so we set this marker for special handling. -typedef enum - { - ERecognizedImage = 0, - EUnsupportedImage, - EWbmpImage, - EOtaImage - } TImageType; - - -TImageType GetRecognizedImageType(const char* aContentTypeString); - - -#ifdef __cplusplus -} // extern "C" { -#endif /* __cplusplus */ - - -#endif /* IMAGEUTILS_H */