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