// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "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:
// Registry file for the PNG Bitmap Decoder Implementation
//
//
#include <ecom/registryinfo.rh>
#include <icl/icl_uids.hrh>
#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
#include <icl/icl_uids_const.hrh>
#include <icl/icl_uids_def.hrh>
#endif
#include "StreamDecoderIFace.hrh"
RESOURCE REGISTRY_INFO theInfo
{
dll_uid = KPNGCodecDllUidValue;
interfaces =
{
INTERFACE_INFO
{
interface_uid = KDecoderInterfaceUidValue;
implementations =
{
BINARY_IMPLEMENTATION_INFO
{
implementation_uid = KPNGDecoderImplementationUidValue;
version_no = 1;
display_name = "PNG";
default_data = {0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A};
opaque_data = {2, 0, 0, 0x10, 0x1F, 0x45, 0xC9, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0x2E, 0x70, 0x6E, 0x67, 0x0D, 2,0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x70, 0x6E, 0x67, 0x0D, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x78, 0x2D, 0x70, 0x6E, 0x67, 0x0D, 2, 0x10, 0x27, 0x37, 0xFB, 0x10, 0x27, 0x38, 0x10};
// 2 0x0000 0x101F45C9 0x00000000 0x00000000 1 .png 2 image/png image/x-png 2 KSwCodecUidValue KDecodeToReducedSizeSupportUidValue
}
};
},
INTERFACE_INFO
{
interface_uid = KEncoderInterfaceUidValue;
implementations =
{
BINARY_IMPLEMENTATION_INFO
{
implementation_uid = KPNGEncoderImplementationUidValue;
version_no = 1;
display_name = "PNG";
default_data = {0x3F}; // "?" - Won't match
opaque_data = {2, 0, 0, 0x10, 0x1F, 0x45, 0xC9, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0x2E, 0x70, 0x6E, 0x67, 0x0D, 1, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x70, 0x6E, 0x67, 0x0D, 1, 0x10, 0x27, 0x37, 0xFB};
// 2 0x0000 0x101F45C9 0x00000000 0x00000000 1 .png 1 image/png 1 KSwCodecUidValue
}
};
},
INTERFACE_INFO
{
interface_uid = KStreamDecoderFactoryUidValue;
implementations =
{
BINARY_IMPLEMENTATION_INFO
{
implementation_uid = KPngStreamDecoderFactoryImplUidValue;
version_no = 1;
display_name = "PNGDecFctr";
default_data = {0x3F}; // "?" - Won't match
}
};
}
};
}