21
|
1 |
/*
|
|
2 |
* Copyright (c) 2004-2008 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:
|
|
15 |
* This file contains configuration data for Memory scan Engine
|
|
16 |
*
|
|
17 |
*
|
|
18 |
*/
|
|
19 |
|
|
20 |
|
|
21 |
#ifndef MSENG_HRH
|
|
22 |
#define MSENG_HRH
|
|
23 |
|
|
24 |
// INCLUDES
|
|
25 |
#include <bldvariant.hrh>
|
|
26 |
|
|
27 |
// CONSTANTS
|
|
28 |
|
|
29 |
// Folders to scan:
|
|
30 |
// All root folders are listed in mseng.rss
|
|
31 |
// All of their subfolders are also scanned.
|
|
32 |
|
|
33 |
// DATA TYPES
|
|
34 |
|
|
35 |
/**
|
|
36 |
* The UID types scanned. Not currently used, but may be needed.
|
|
37 |
*
|
|
38 |
* The UID:s matching TUidTypes enumeration are
|
|
39 |
* in the resource file mseng.rss
|
|
40 |
* Care must be taken that every UID type has
|
|
41 |
* corresponding resource struct in mseng.rss
|
|
42 |
*/
|
|
43 |
enum TUidTypes
|
|
44 |
{
|
|
45 |
EUidMsgTypeMultimedia = 0,
|
|
46 |
EUidMsgTypeSMTP,
|
|
47 |
EUidMsgTypePOP3,
|
|
48 |
EUidMsgTypeIMAP4,
|
|
49 |
EUidMsgTypeSMS,
|
|
50 |
EUidMsgTypeFax,
|
|
51 |
EUidMsgTypeIr,
|
|
52 |
EUidMsgTypeBt,
|
|
53 |
EUidTest1,
|
|
54 |
EUidTest2
|
|
55 |
};
|
|
56 |
|
|
57 |
|
|
58 |
/**
|
|
59 |
* The filename extension types scanned.
|
|
60 |
*
|
|
61 |
* The strings matching TExtTypes enumeration are
|
|
62 |
* in the resource file mseng.rss
|
|
63 |
* Care must be taken that every extension type
|
|
64 |
* has corresponding resource struct in mseng.rss
|
|
65 |
*/
|
|
66 |
enum TExtTypes
|
|
67 |
{
|
|
68 |
// Image types
|
|
69 |
EExtBmp = 0,
|
|
70 |
EExtGif,
|
|
71 |
EExtJpe,
|
|
72 |
EExtJpeg,
|
|
73 |
EExtJpg,
|
|
74 |
EExtOta,
|
|
75 |
EExtPng,
|
|
76 |
EExtTif,
|
|
77 |
EExtTiff,
|
|
78 |
EExtWbmp,
|
|
79 |
EExtWmf,
|
|
80 |
EExtJp2,
|
|
81 |
EExtJpg2,
|
|
82 |
EExtJp3,
|
|
83 |
EExtIco,
|
|
84 |
EExtVcf,
|
|
85 |
// Sound types
|
|
86 |
EExtAac,
|
|
87 |
EExtAmr,
|
|
88 |
EExtAu,
|
|
89 |
EExtAwb,
|
|
90 |
EExtMid,
|
|
91 |
EExtMp3,
|
|
92 |
EExtRa,
|
|
93 |
EExtRmf,
|
|
94 |
EExtRng,
|
|
95 |
EExtSnd,
|
|
96 |
EExtWav,
|
|
97 |
EExtWve,
|
|
98 |
EExtWma,
|
|
99 |
EExtM4a,
|
|
100 |
EExtOtt,
|
|
101 |
EExtMxmf,
|
|
102 |
EExtMka,
|
|
103 |
// Java file types
|
|
104 |
EExtJad,
|
|
105 |
EExtJar,
|
|
106 |
// Native installation file types
|
|
107 |
EExtSis,
|
|
108 |
EExtSisx,
|
|
109 |
// Video types
|
|
110 |
EExt3gp,
|
|
111 |
EExtMp4,
|
|
112 |
EExtNim,
|
|
113 |
EExtRm,
|
|
114 |
EExtRv,
|
|
115 |
EExtWmv,
|
|
116 |
EExt3g2,
|
|
117 |
EExtRmvb,
|
|
118 |
EExtMkv,
|
|
119 |
EExtAvi,
|
|
120 |
// Document types
|
|
121 |
EExtDoc,
|
|
122 |
EExtPdf,
|
|
123 |
EExtPps,
|
|
124 |
EExtPpt,
|
|
125 |
EExtTxt,
|
|
126 |
EExtXls,
|
|
127 |
// Calendar types
|
|
128 |
EExtVcs
|
|
129 |
};
|
|
130 |
|
|
131 |
/**
|
|
132 |
* The data groups. (These are what is displayed to the user).
|
|
133 |
*
|
|
134 |
* The strings matching TExtTypes enumeration are
|
|
135 |
* in the resource file mseng.rss
|
|
136 |
* Care must be taken that every extension type
|
|
137 |
* has corresponding resource in mseng.rss
|
|
138 |
*
|
|
139 |
* The names are shown to the user in the order
|
|
140 |
* as enumerated here.
|
|
141 |
*/
|
|
142 |
enum TDataGroups
|
|
143 |
{
|
|
144 |
EGroupAllDeviceData = 0,
|
|
145 |
EGroupFreeMemory,
|
|
146 |
EGroupCalendar,
|
|
147 |
EGroupContacts,
|
|
148 |
EGroupMessages,
|
|
149 |
EGroupImages,
|
|
150 |
EGroupSoundFiles,
|
|
151 |
EGroupVideos,
|
|
152 |
EGroupDocuments,
|
|
153 |
EGroupMidpJava,
|
|
154 |
EGroupNativeApps,
|
|
155 |
EGroupOthers
|
|
156 |
};
|
|
157 |
|
|
158 |
#endif // MSENG.HRH
|
|
159 |
|
|
160 |
// End of File
|