examples/Multimedia/ICL/ICLCodec/101F4122.rss

00001 // 101F4122.rss
00002 //
00003 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
00004 // All rights reserved.
00005 // This component and the accompanying materials are made available
00006 // under the terms of "Eclipse Public License v1.0"
00007 // which accompanies this distribution, and is available
00008 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00009 //
00010 // Initial Contributors:
00011 // Nokia Corporation - initial contribution.
00012 //
00013 // Contributors:
00014 //
00015 // Description:
00016 //
00017 //
00018 
00019 #include <registryinfo.rh>
00020 #include "uids.h"
00021 
00022 RESOURCE REGISTRY_INFO theInfo
00023         {
00024         // UID for the DLL providing the encoder/decoder -- matches that in the .mmp file
00025         dll_uid = KExPNGCodecDllUidValue;
00026         interfaces = 
00027                 {
00028                 // Decoder ECom registry information
00029                 INTERFACE_INFO
00030                         {
00031                         // Standard UID of the ICL decoder interface
00032                         interface_uid = 0x101F45AD;
00033                         implementations = 
00034                                 {
00035                                 // Single implementation of the decoder interface in this DLL
00036                                 BINARY_IMPLEMENTATION_INFO
00037                                         {
00038                                         // UID of this specific decoder implementation
00039                                         implementation_uid = KExPNGDecoderImplementationUidValue;
00040                                         version_no = 1;
00041                                         display_name = "EXPNG";
00042                                         // Default data is binary data that can be matched against image header
00043                                         default_data = {0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A};
00044                                         /* Opaque data defines:
00045                                                 Version (1 byte)
00046                                                 Image type Uid (4 bytes)
00047                                                 Image sub-type Uid (4 bytes)
00048                                                 Number of extensions (1 byte)
00049                                                 { ".XXX" \r } (x number extensions)
00050                                                 Number mime types (1 byte)
00051                                                 [ "mimetype" \r ] (for each mimetype) */
00052                                         opaque_data = {0, 0x10, 0x1F, 0x45, 0xC9, 0, 0, 0, 0, 1, 0x2E, 0x70, 0x6E, 0x67, 0x0D, 1, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x70, 0x6E, 0x67, 0x0D};
00053                                         // i.e. 0 0x101F45C9 0x00000000 1 .png 1 image/png
00054                                         }
00055                                 };
00056                         },
00057                 // Encoder ECom registry information
00058                 INTERFACE_INFO
00059                         {
00060                         // Standard UID of the ICL encoder interface
00061                         interface_uid = 0x101F45B4;
00062                         implementations = 
00063                                 {
00064                                 // Single implementation of the decoder interface in this DLL
00065                                 BINARY_IMPLEMENTATION_INFO
00066                                         {
00067                                         // UID of this specific encoder implementation
00068                                         implementation_uid = KExPNGEncoderImplementationUidValue;
00069                                         version_no = 1;
00070                                         display_name = "EXPNG";
00071                                         default_data = {0x3F}; // "?" - Won't match
00072                                         opaque_data = {0, 0x10, 0x1F, 0x45, 0xC9, 0, 0, 0, 0, 1, 0x2E, 0x70, 0x6E, 0x67, 0x0D, 1, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x70, 0x6E, 0x67, 0x0D};
00073                                         // 0 0x101F45C9 0x00000000 1 .png 1 image/png
00074                                         }
00075                                 };
00076                         }
00077                 };
00078         }
00079 

Generated by  doxygen 1.6.2