2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: This file contains declarations for resources of
15 * Common File Dialogs. The file can be included only in
23 // STRUCTURE DEFINITIONS
25 // ---------------------------------------------------------
27 // FILTER is a resource structure for filter definition.
28 // "filter_type" defines if the filter is an attribute or a filename filter.
29 // "filter_style" defines if the filter is an inclusive or an exclusive filter.
30 // Inclusive filter doesn't accept anything but the files and folders (entries)
31 // that match with the filter. Exclusive filter accepts only those entries
32 // that match with the filter.
33 // "filter_data" is an array of strings:
34 // In filename filter data is wildcards ("*.jpg", "*.gif", ...).
35 // In attribute filter data is first letters of attributes
36 // ("R", "H", "S", ... or "RHS").
37 // The attributes in Symbian OS file system are:
38 // Read only, Hidden, System, Volume, Directory and Archive
39 // Note! Files and directories with System attribute are always hidden
41 // ---------------------------------------------------------
50 // ---------------------------------------------------------
52 // LOCATION is a resource structure that defines a root path and a default folder.
53 // "root_path" is the absolute path to be considered as root when browsing.
55 // "default_folder" is the folder where browsing is started.
56 // e.g. "Images\\Pictures\\"
57 // Note! Do not put folder names in .LOC file! These are
58 // physical file system paths. Possible localization is done
60 // Note! Remeber to use trailing backslash!
61 // ---------------------------------------------------------
69 // ---------------------------------------------------------
70 // MEMORYSELECTIONDIALOG
71 // MEMORYSELECTIONDIALOG is a resource structure for memory selection dialog.
72 // In this structure a title and texts for softkeys can be defined.
73 // "title" is "Select memory:" by default if it is not defined.
74 // Locations of the memories can be defined.
75 // NOTE: Locations for memory selection dialog is deprecated. Only use it
76 // when using TMemory parameter in CAknMemorySelectionDialog
77 // @see CAknMemorySelectionDialog
78 // ---------------------------------------------------------
80 STRUCT MEMORYSELECTIONDIALOG
85 STRUCT locations[]; // LOCATION
88 // ---------------------------------------------------------
89 // FILESELECTIONDIALOG
90 // This is a resource structure for file selection dialog.
91 // In this structure a title and texts for softkeys can be defined.
92 // "title" is "Select from:" by default if it is not defined.
93 // "softkey_1_file" is shown when a file is focused.
94 // "softkey_1_folder" is shown when a folder is focused.
95 // "softkey_2_root_level" is shown when user is browsing in the first level (root folder).
96 // "softkey_2_subfolder" is shown when user is browsing in a subfolder
97 // "root_path" and "default_folder" can be defined. They are explained in LOCATION struct.
98 // Filters can be defined with FILTER structures.
99 // ---------------------------------------------------------
101 STRUCT FILESELECTIONDIALOG
104 LTEXT softkey_1_file;
105 LTEXT softkey_1_folder;
106 LTEXT softkey_2_root_level;
107 LTEXT softkey_2_subfolder;
109 LTEXT default_folder;
110 STRUCT filters[]; // FILTER structs
113 // ---------------------------------------------------------
114 // FILENAMEPROMPTDIALOG
115 // A structure for prompting a single filename.
116 // In this structure a title and texts for softkeys can be defined.
117 // "default_filename" defines the default filename. Extension is not shown.
118 // "path" is the path that the file is supposed to save.
119 // If path is set, it can be checked if file already exists.
120 // ---------------------------------------------------------
122 STRUCT FILENAMEPROMPTDIALOG
124 LTEXT filename_prompt; // title
125 LTEXT default_filename;