|
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Registry file for the PPM example 2 |
|
15 // |
|
16 // |
|
17 |
|
18 #include <ecom/registryinfo.rh> |
|
19 #include "PPM2Uids.hrh" |
|
20 #include <icl/icl_uids.hrh> // for KDecoderInterfaceUidValue, etc |
|
21 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
22 #include <icl/icl_uids_const.hrh> |
|
23 #include <icl/icl_uids_def.hrh> |
|
24 #endif |
|
25 |
|
26 #define CR 0x0D |
|
27 |
|
28 RESOURCE REGISTRY_INFO theInfo |
|
29 { |
|
30 dll_uid = KPpm2DecoderDllUidValue; |
|
31 interfaces = |
|
32 { |
|
33 INTERFACE_INFO |
|
34 { |
|
35 interface_uid = KDecoderInterfaceUidValue; |
|
36 implementations = |
|
37 { |
|
38 BINARY_IMPLEMENTATION_INFO |
|
39 { |
|
40 implementation_uid = KPpm2DecoderImplementationUidValue; |
|
41 version_no = 1; |
|
42 display_name = "PPM"; |
|
43 default_data = {0x50, 0x3F}; // "P?" - internally will match P3 and P6 |
|
44 opaque_data = {0x01, 0x00, 0x02, 0x10, 0x1F, 0x45, 0xF7, 0, 0, 0, 0, 1, 0x2E, 0x70, 0x70, 0x6D, CR, 1, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x78, 0x2D, 0x70, 0x6F, 0x72, 0x74, 0x61, 0x62, 0x6C, 0x65, 0x2D, 0x70, 0x69, 0x78, 0x6D, 0x61, 0x70, CR}; |
|
45 // 1 0x0002 0x101F45F7 0x00000000 1 .ppm 1 image/x-portable-pixmap |
|
46 } |
|
47 }; |
|
48 }, |
|
49 INTERFACE_INFO |
|
50 { |
|
51 interface_uid = KEncoderInterfaceUidValue; |
|
52 implementations = |
|
53 { |
|
54 BINARY_IMPLEMENTATION_INFO |
|
55 { |
|
56 implementation_uid = KPpm2EncoderImplementationUidValue; |
|
57 version_no = 1; |
|
58 display_name = "PPM"; |
|
59 default_data = {0x3F}; // "?" - Won't match |
|
60 opaque_data = {0x00, 0x10, 0x1F, 0x45, 0xF7, 0, 0, 0, 0, 1, 0x2E, 0x70, 0x70, 0x6D, CR, 1, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x78, 0x2D, 0x70, 0x6F, 0x72, 0x74, 0x61, 0x62, 0x6C, 0x65, 0x2D, 0x70, 0x69, 0x78, 0x6D, 0x61, 0x70, CR}; |
|
61 // 0 0x101F45F7 0x00000000 1 .ppm 1 image/x-portable-pixmap |
|
62 } |
|
63 }; |
|
64 } |
|
65 }; |
|
66 } |
|
67 |
|
68 |