sl@0: // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: /** sl@0: @file f32\inc\message.h sl@0: @internalTechnology sl@0: */ sl@0: sl@0: #if !defined(__MESSAGE_H__) sl@0: #define __MESSAGE_H__ sl@0: #if !defined(__E32STD_H__) sl@0: #include sl@0: #endif sl@0: sl@0: //#include sl@0: #include sl@0: sl@0: // sl@0: // Structs used to reduce the number of parameters in messages sl@0: // sl@0: sl@0: // sl@0: class TOpenFileListPos sl@0: /** sl@0: @internalTechnology sl@0: @released sl@0: */ sl@0: { sl@0: public: sl@0: TOpenFileListPos() {} sl@0: TOpenFileListPos(TInt aSession,TInt iListPos) : iSession(aSession), iEntryListPos(iListPos) {} sl@0: public: sl@0: TInt iSession; sl@0: TInt iEntryListPos; sl@0: }; sl@0: sl@0: // sl@0: // Function capabilities sl@0: // sl@0: sl@0: _LIT_SECURITY_POLICY_C1(KCapAllFiles, ECapabilityAllFiles); sl@0: _LIT_SECURITY_POLICY_C1(KCapDiskAdmin, ECapabilityDiskAdmin); sl@0: _LIT_SECURITY_POLICY_C1(KCapTCB, ECapabilityTCB); sl@0: sl@0: //KCapFsPri - Private directories sl@0: //KCapFsSys - System directory sl@0: //KCapFsRO - Resource directory sl@0: sl@0: #define KCapFsAddFileSystem KCapDiskAdmin sl@0: #define KCapFsRemoveFileSystem KCapDiskAdmin sl@0: #define KCapFsMountFileSystem KCapDiskAdmin sl@0: #define KCapFsDismountFileSystem KCapDiskAdmin sl@0: #define KCapFsAddExtension KCapDiskAdmin sl@0: #define KCapFsRemoveExtension KCapDiskAdmin sl@0: #define KCapFsMountExtension KCapDiskAdmin sl@0: #define KCapFsDismountExtension KCapDiskAdmin sl@0: #define KCapFsNotifyChange KCapAllFiles sl@0: #define KCapFsNotifyChangeCancel KCapAllFiles sl@0: #define KCapFsSetVolume KCapDiskAdmin sl@0: #define KCapFsSetSubst KCapDiskAdmin sl@0: #define KCapFsSysSetSubst KCapTCB sl@0: #define KCapFsPriSetSubst KCapAllFiles sl@0: #define KCapFsROSetSubst KCapTCB sl@0: #define KCapFsSysRealName KCapAllFiles sl@0: #define KCapFsPriRealName KCapAllFiles sl@0: #define KCapFsSysSetSessionPath KCapAllFiles sl@0: #define KCapFsPriSetSessionPath KCapAllFiles sl@0: #define KCapFsSysMkDir KCapTCB sl@0: #define KCapFsROMkDir KCapTCB sl@0: #define KCapFsPriMkDir KCapAllFiles sl@0: #define KCapFsSysRmDir KCapTCB sl@0: #define KCapFsRORmDir KCapTCB sl@0: #define KCapFsPriRmDir KCapAllFiles sl@0: #define KCapFsSysDelete KCapTCB sl@0: #define KCapFsRODelete KCapTCB sl@0: #define KCapFsPriDelete KCapAllFiles sl@0: #define KCapFsSysRename KCapTCB sl@0: #define KCapFsRORename KCapTCB sl@0: #define KCapFsPriRename KCapAllFiles sl@0: #define KCapFsSysReplace KCapTCB sl@0: #define KCapFsROReplace KCapTCB sl@0: #define KCapFsPriReplace KCapAllFiles sl@0: #define KCapFsEntry KCapAllFiles sl@0: #define KCapFsSysSetEntry KCapTCB sl@0: #define KCapFsROSetEntry KCapTCB sl@0: #define KCapFsPriSetEntry KCapAllFiles sl@0: #define KCapFsSetDriveName KCapDiskAdmin sl@0: #define KCapFsPriFileOpen KCapAllFiles sl@0: #define KCapFsSysFileOpenWr KCapTCB sl@0: #define KCapFsROFileOpenWr KCapTCB sl@0: #define KCapFsSysFileOpenRd KCapAllFiles sl@0: #define KCapFsSysFileCreate KCapTCB sl@0: #define KCapFsROFileCreate KCapTCB sl@0: #define KCapFsPriFileCreate KCapAllFiles sl@0: #define KCapFsSysFileReplace KCapTCB sl@0: #define KCapFsROFileReplace KCapTCB sl@0: #define KCapFsPriFileReplace KCapAllFiles sl@0: #define KCapFsSysFileTemp KCapTCB sl@0: #define KCapFsROFileTemp KCapTCB sl@0: #define KCapFsPriFileTemp KCapAllFiles sl@0: #define KCapFsSysFileRename KCapTCB sl@0: #define KCapFsROFileRename KCapTCB sl@0: #define KCapFsPriFileRename KCapAllFiles sl@0: #define KCapFsSysNotificationAddFilter KCapTCB sl@0: #define KCapFsRONotificationAddFilter KCapTCB sl@0: #define KCapFsPriNotificationAddFilter KCapAllFiles sl@0: #define KCapFsSysIsFileOpen KCapAllFiles sl@0: #define KCapFsPriIsFileOpen KCapAllFiles sl@0: #define KCapFsFileChangeMode KCapDiskAdmin sl@0: #define KCapFsSysDirOpen KCapAllFiles sl@0: #define KCapFsPriDirOpen KCapAllFiles sl@0: #define KCapFsFormatOpen KCapDiskAdmin sl@0: #define KCapFsFormatNext KCapDiskAdmin sl@0: #define KCapFsRawDiskOpen KCapTCB sl@0: #define KCapFsRawDiskRead KCapTCB sl@0: #define KCapFsRawDiskWrite KCapTCB sl@0: #define KCapFsCheckDisk KCapDiskAdmin sl@0: #define KCapFsSysGetShortName KCapAllFiles sl@0: #define KCapFsPriGetShortName KCapAllFiles sl@0: #define KCapFsSysGetLongName KCapAllFiles sl@0: #define KCapFsPriGetLongName KCapAllFiles sl@0: #define KCapFsSysIsFileInRom KCapAllFiles sl@0: #define KCapFsPriIsFileInRom KCapAllFiles sl@0: #define KCapFsSysReadFileSection KCapAllFiles sl@0: #define KCapFsPriReadFileSection KCapAllFiles sl@0: #define KCapFsNotifyChangeEx KCapAllFiles sl@0: #define KCapFsNotifyChangeCancelEx KCapAllFiles sl@0: #define KCapFsScanDrive KCapDiskAdmin sl@0: #define KCapFsLockDrive KCapDiskAdmin sl@0: #define KCapFsUnlockDrive KCapDiskAdmin sl@0: #define KCapFsClearPassword KCapDiskAdmin sl@0: #define KCapFsFinaliseDrive KCapDiskAdmin sl@0: #define KCapFsErasePassword KCapDiskAdmin sl@0: #define KCapFsPlugin KCapDiskAdmin sl@0: #define KCapFsAddCompositeMount KCapDiskAdmin sl@0: #define KCapFsSetSystemDrive KCapTCB sl@0: #define KCapFsAddProxyDrive KCapDiskAdmin sl@0: #define KCapFsRemoveProxyDrive KCapDiskAdmin sl@0: #define KCapFsMountProxyDrive KCapDiskAdmin sl@0: #define KCapFsDismountProxyDrive KCapDiskAdmin sl@0: sl@0: sl@0: #endif