|
1 /* |
|
2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Compatibility variation resource file |
|
15 * of chat application |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 //---------------------------------------------------- |
|
21 // VARIATION |
|
22 // You can do resource-file based variation by setting the following number |
|
23 // resources as you wish. |
|
24 // |
|
25 // ---------------------------------------------------- |
|
26 // Following resources are needed to preserve |
|
27 // 3.0 compatibility. |
|
28 // ---------------------------------------------------- |
|
29 |
|
30 //r_audio_filelist_model_enabled |
|
31 //------------------------------ |
|
32 //value = 0, Brandable tones are not defined and default tone list is used |
|
33 //value = 1, Brandable tones are used and tone list is configured by customer |
|
34 //see r_audio_filelist_model |
|
35 RESOURCE NUMBER_INT32 r_audio_filelist_model_enabled { value = 0; } |
|
36 |
|
37 //r_audio_filelist_model |
|
38 //------------------------------ |
|
39 //If customer specific tones are specifed, this resource structure must be filled |
|
40 //here are instructions: |
|
41 // |
|
42 // RESOURCE FILELISTMODEL r_test_filelist_model |
|
43 // { |
|
44 // sorting_criteria = EAlphaAscending; |
|
45 // directories = |
|
46 // { |
|
47 // //directories can add one or more, separated with "," |
|
48 // LBUF { txt = "c:\\nokia\\sounds\\simple\\"; }, |
|
49 // LBUF { txt = "c:\\someother\\directory\\"} |
|
50 // }; |
|
51 // wildcards = |
|
52 // { |
|
53 // LBUF { txt = "*.wav"; }, |
|
54 // LBUF { txt = "*.mid"; } |
|
55 // }; |
|
56 // max_file_size = KFLDNoSizeFiltering; |
|
57 // } |
|
58 |
|
59 #include <filelistmodel.rh> |
|
60 #include <pathconfiguration.hrh> |
|
61 RESOURCE FILELISTMODEL r_audio_filelist_model |
|
62 { |
|
63 sorting_criteria = EAlphaAscending; |
|
64 directories = |
|
65 { |
|
66 LBUF { txt = text_rom_root_path text_digital_sounds_path; }, |
|
67 LBUF { txt = text_phone_memory_root_path text_digital_sounds_path; }, |
|
68 LBUF { txt = text_memory_card_root_path text_digital_sounds_path; } |
|
69 }; |
|
70 mimetypes = |
|
71 { |
|
72 LBUF { txt = "application/vnd.nokia.ringing-tone"; }, |
|
73 LBUF { txt = "audio/*"; } |
|
74 }; |
|
75 |
|
76 // ..but do not show these. |
|
77 exclusivemimetypes = |
|
78 { |
|
79 LBUF { txt = "audio/mpegurl"; }, |
|
80 LBUF { txt = "audio/x-pn-realaudio-plugin"; } |
|
81 }; |
|
82 max_file_size = KFLDNoSizeFiltering; |
|
83 } |
|
84 |
|
85 //end of file |
|
86 |