sl@0
|
1 |
// Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
//
|
sl@0
|
15 |
|
sl@0
|
16 |
/**
|
sl@0
|
17 |
@file f32\inc\message.h
|
sl@0
|
18 |
@internalTechnology
|
sl@0
|
19 |
*/
|
sl@0
|
20 |
|
sl@0
|
21 |
#if !defined(__MESSAGE_H__)
|
sl@0
|
22 |
#define __MESSAGE_H__
|
sl@0
|
23 |
#if !defined(__E32STD_H__)
|
sl@0
|
24 |
#include <e32std.h>
|
sl@0
|
25 |
#endif
|
sl@0
|
26 |
|
sl@0
|
27 |
//#include <f32plugin.h>
|
sl@0
|
28 |
#include <e32capability.h>
|
sl@0
|
29 |
|
sl@0
|
30 |
//
|
sl@0
|
31 |
// Structs used to reduce the number of parameters in messages
|
sl@0
|
32 |
//
|
sl@0
|
33 |
|
sl@0
|
34 |
//
|
sl@0
|
35 |
class TOpenFileListPos
|
sl@0
|
36 |
/**
|
sl@0
|
37 |
@internalTechnology
|
sl@0
|
38 |
@released
|
sl@0
|
39 |
*/
|
sl@0
|
40 |
{
|
sl@0
|
41 |
public:
|
sl@0
|
42 |
TOpenFileListPos() {}
|
sl@0
|
43 |
TOpenFileListPos(TInt aSession,TInt iListPos) : iSession(aSession), iEntryListPos(iListPos) {}
|
sl@0
|
44 |
public:
|
sl@0
|
45 |
TInt iSession;
|
sl@0
|
46 |
TInt iEntryListPos;
|
sl@0
|
47 |
};
|
sl@0
|
48 |
|
sl@0
|
49 |
//
|
sl@0
|
50 |
// Function capabilities
|
sl@0
|
51 |
//
|
sl@0
|
52 |
|
sl@0
|
53 |
_LIT_SECURITY_POLICY_C1(KCapAllFiles, ECapabilityAllFiles);
|
sl@0
|
54 |
_LIT_SECURITY_POLICY_C1(KCapDiskAdmin, ECapabilityDiskAdmin);
|
sl@0
|
55 |
_LIT_SECURITY_POLICY_C1(KCapTCB, ECapabilityTCB);
|
sl@0
|
56 |
|
sl@0
|
57 |
//KCapFsPri - Private directories
|
sl@0
|
58 |
//KCapFsSys - System directory
|
sl@0
|
59 |
//KCapFsRO - Resource directory
|
sl@0
|
60 |
|
sl@0
|
61 |
#define KCapFsAddFileSystem KCapDiskAdmin
|
sl@0
|
62 |
#define KCapFsRemoveFileSystem KCapDiskAdmin
|
sl@0
|
63 |
#define KCapFsMountFileSystem KCapDiskAdmin
|
sl@0
|
64 |
#define KCapFsDismountFileSystem KCapDiskAdmin
|
sl@0
|
65 |
#define KCapFsAddExtension KCapDiskAdmin
|
sl@0
|
66 |
#define KCapFsRemoveExtension KCapDiskAdmin
|
sl@0
|
67 |
#define KCapFsMountExtension KCapDiskAdmin
|
sl@0
|
68 |
#define KCapFsDismountExtension KCapDiskAdmin
|
sl@0
|
69 |
#define KCapFsNotifyChange KCapAllFiles
|
sl@0
|
70 |
#define KCapFsNotifyChangeCancel KCapAllFiles
|
sl@0
|
71 |
#define KCapFsSetVolume KCapDiskAdmin
|
sl@0
|
72 |
#define KCapFsSetSubst KCapDiskAdmin
|
sl@0
|
73 |
#define KCapFsSysSetSubst KCapTCB
|
sl@0
|
74 |
#define KCapFsPriSetSubst KCapAllFiles
|
sl@0
|
75 |
#define KCapFsROSetSubst KCapTCB
|
sl@0
|
76 |
#define KCapFsSysRealName KCapAllFiles
|
sl@0
|
77 |
#define KCapFsPriRealName KCapAllFiles
|
sl@0
|
78 |
#define KCapFsSysSetSessionPath KCapAllFiles
|
sl@0
|
79 |
#define KCapFsPriSetSessionPath KCapAllFiles
|
sl@0
|
80 |
#define KCapFsSysMkDir KCapTCB
|
sl@0
|
81 |
#define KCapFsROMkDir KCapTCB
|
sl@0
|
82 |
#define KCapFsPriMkDir KCapAllFiles
|
sl@0
|
83 |
#define KCapFsSysRmDir KCapTCB
|
sl@0
|
84 |
#define KCapFsRORmDir KCapTCB
|
sl@0
|
85 |
#define KCapFsPriRmDir KCapAllFiles
|
sl@0
|
86 |
#define KCapFsSysDelete KCapTCB
|
sl@0
|
87 |
#define KCapFsRODelete KCapTCB
|
sl@0
|
88 |
#define KCapFsPriDelete KCapAllFiles
|
sl@0
|
89 |
#define KCapFsSysRename KCapTCB
|
sl@0
|
90 |
#define KCapFsRORename KCapTCB
|
sl@0
|
91 |
#define KCapFsPriRename KCapAllFiles
|
sl@0
|
92 |
#define KCapFsSysReplace KCapTCB
|
sl@0
|
93 |
#define KCapFsROReplace KCapTCB
|
sl@0
|
94 |
#define KCapFsPriReplace KCapAllFiles
|
sl@0
|
95 |
#define KCapFsEntry KCapAllFiles
|
sl@0
|
96 |
#define KCapFsSysSetEntry KCapTCB
|
sl@0
|
97 |
#define KCapFsROSetEntry KCapTCB
|
sl@0
|
98 |
#define KCapFsPriSetEntry KCapAllFiles
|
sl@0
|
99 |
#define KCapFsSetDriveName KCapDiskAdmin
|
sl@0
|
100 |
#define KCapFsPriFileOpen KCapAllFiles
|
sl@0
|
101 |
#define KCapFsSysFileOpenWr KCapTCB
|
sl@0
|
102 |
#define KCapFsROFileOpenWr KCapTCB
|
sl@0
|
103 |
#define KCapFsSysFileOpenRd KCapAllFiles
|
sl@0
|
104 |
#define KCapFsSysFileCreate KCapTCB
|
sl@0
|
105 |
#define KCapFsROFileCreate KCapTCB
|
sl@0
|
106 |
#define KCapFsPriFileCreate KCapAllFiles
|
sl@0
|
107 |
#define KCapFsSysFileReplace KCapTCB
|
sl@0
|
108 |
#define KCapFsROFileReplace KCapTCB
|
sl@0
|
109 |
#define KCapFsPriFileReplace KCapAllFiles
|
sl@0
|
110 |
#define KCapFsSysFileTemp KCapTCB
|
sl@0
|
111 |
#define KCapFsROFileTemp KCapTCB
|
sl@0
|
112 |
#define KCapFsPriFileTemp KCapAllFiles
|
sl@0
|
113 |
#define KCapFsSysFileRename KCapTCB
|
sl@0
|
114 |
#define KCapFsROFileRename KCapTCB
|
sl@0
|
115 |
#define KCapFsPriFileRename KCapAllFiles
|
sl@0
|
116 |
#define KCapFsSysNotificationAddFilter KCapTCB
|
sl@0
|
117 |
#define KCapFsRONotificationAddFilter KCapTCB
|
sl@0
|
118 |
#define KCapFsPriNotificationAddFilter KCapAllFiles
|
sl@0
|
119 |
#define KCapFsSysIsFileOpen KCapAllFiles
|
sl@0
|
120 |
#define KCapFsPriIsFileOpen KCapAllFiles
|
sl@0
|
121 |
#define KCapFsFileChangeMode KCapDiskAdmin
|
sl@0
|
122 |
#define KCapFsSysDirOpen KCapAllFiles
|
sl@0
|
123 |
#define KCapFsPriDirOpen KCapAllFiles
|
sl@0
|
124 |
#define KCapFsFormatOpen KCapDiskAdmin
|
sl@0
|
125 |
#define KCapFsFormatNext KCapDiskAdmin
|
sl@0
|
126 |
#define KCapFsRawDiskOpen KCapTCB
|
sl@0
|
127 |
#define KCapFsRawDiskRead KCapTCB
|
sl@0
|
128 |
#define KCapFsRawDiskWrite KCapTCB
|
sl@0
|
129 |
#define KCapFsCheckDisk KCapDiskAdmin
|
sl@0
|
130 |
#define KCapFsSysGetShortName KCapAllFiles
|
sl@0
|
131 |
#define KCapFsPriGetShortName KCapAllFiles
|
sl@0
|
132 |
#define KCapFsSysGetLongName KCapAllFiles
|
sl@0
|
133 |
#define KCapFsPriGetLongName KCapAllFiles
|
sl@0
|
134 |
#define KCapFsSysIsFileInRom KCapAllFiles
|
sl@0
|
135 |
#define KCapFsPriIsFileInRom KCapAllFiles
|
sl@0
|
136 |
#define KCapFsSysReadFileSection KCapAllFiles
|
sl@0
|
137 |
#define KCapFsPriReadFileSection KCapAllFiles
|
sl@0
|
138 |
#define KCapFsNotifyChangeEx KCapAllFiles
|
sl@0
|
139 |
#define KCapFsNotifyChangeCancelEx KCapAllFiles
|
sl@0
|
140 |
#define KCapFsScanDrive KCapDiskAdmin
|
sl@0
|
141 |
#define KCapFsLockDrive KCapDiskAdmin
|
sl@0
|
142 |
#define KCapFsUnlockDrive KCapDiskAdmin
|
sl@0
|
143 |
#define KCapFsClearPassword KCapDiskAdmin
|
sl@0
|
144 |
#define KCapFsFinaliseDrive KCapDiskAdmin
|
sl@0
|
145 |
#define KCapFsErasePassword KCapDiskAdmin
|
sl@0
|
146 |
#define KCapFsPlugin KCapDiskAdmin
|
sl@0
|
147 |
#define KCapFsAddCompositeMount KCapDiskAdmin
|
sl@0
|
148 |
#define KCapFsSetSystemDrive KCapTCB
|
sl@0
|
149 |
#define KCapFsAddProxyDrive KCapDiskAdmin
|
sl@0
|
150 |
#define KCapFsRemoveProxyDrive KCapDiskAdmin
|
sl@0
|
151 |
#define KCapFsMountProxyDrive KCapDiskAdmin
|
sl@0
|
152 |
#define KCapFsDismountProxyDrive KCapDiskAdmin
|
sl@0
|
153 |
|
sl@0
|
154 |
|
sl@0
|
155 |
#endif
|