epoc32/include/defaultcaps.hrh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2 * Copyright (c) 2002-2004 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:  Platform security capabilities - Default capabilities for ROM 
    15 *                based sw.
    16 *
    17 */
    18 
    19 
    20 
    21 #ifndef DEFAULTCAPS_HRH
    22 #define DEFAULTCAPS_HRH
    23 
    24 
    25 // Manufacturer or platform specific VID. A VID to be granted to all software 
    26 // from the same manufacturer.
    27 #define VID_DEFAULT 0x101FB657
    28 
    29 // All capabilities listed here:
    30 // TCB DiskAdmin AllFiles DRM PowerMgmt ProtServ ReadDeviceData WriteDeviceData
    31 // NetworkControl CommDD MultimediaDD SurroundingsDD TrustedUI SwEvent Location NetworkServices
    32 // ReadUserData WriteUserData LocalServices UserEnvironment
    33 
    34 // Default capabilities to be used in mmp file. Usage example:
    35 // CAPABILITY CAP_APPLICATION
    36 
    37 
    38 // General purpose library (dll). UI framework libraries, parsers, basic system 
    39 // services.
    40 #define CAP_GENERAL_DLL ALL -TCB
    41 
    42 // Application (exe), UI or non-UI.
    43 #define CAP_APPLICATION NetworkServices LocalServices Location ReadUserData \
    44                         WriteUserData ReadDeviceData WriteDeviceData SwEvent UserEnvironment
    45 
    46 // MIME-type recogniser. MIME-type recognisers (RecMmf.mdl).
    47 #define CAP_RECOGNISER ProtServ
    48 
    49 // ECOM plugin (dll). HTTP transport framework filters, MMF plugins, 
    50 // ICL plugins.
    51 #define CAP_ECOM_PLUGIN ALL -TCB
    52 
    53 // Server (exe). Symbian OS servers.
    54 #define CAP_SERVER ProtServ ReadDeviceData WriteDeviceData SwEvent Location \
    55                    NetworkServices ReadUserData WriteUserData LocalServices UserEnvironment
    56 
    57 // Client-side interfaces for servers.
    58 #define CAP_CLIENT_DLL ALL -TCB
    59 
    60 // Device Drivers. Display driver, audio driver, camera driver.
    61 #define CAP_DEVICE_DRIVER ALL
    62 
    63 // File server components. File system extensions.
    64 #define CAP_FILE_SERVER ALL
    65 
    66 // SW installer server components. Utilities used by sw install 
    67 // (cryptographic libraries, parsers).
    68 #define CAP_SW_INSTALL TCB NetworkServices ReadDeviceData WriteDeviceData \
    69                        ProtServ PowerMgmt AllFiles TrustedUI
    70 
    71 // Kernel components. Any utility used by kernel.
    72 #define CAP_KERNEL ALL
    73 
    74 
    75 #endif
    76             
    77 // End of File