epoc32/include/defaultcaps.hrh
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/defaultcaps.hrh	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,74 @@
     1.4 +/*
     1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description: 
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +#ifndef DEFAULTCAPS_HRH
    1.22 +#define DEFAULTCAPS_HRH
    1.23 +
    1.24 +
    1.25 +// Manufacturer or platform specific VID. A VID to be granted to all software 
    1.26 +// from the same manufacturer.
    1.27 +#define VID_DEFAULT 0x101FB657
    1.28 +
    1.29 +// All capabilities listed here:
    1.30 +// TCB DiskAdmin AllFiles DRM PowerMgmt ProtServ ReadDeviceData WriteDeviceData
    1.31 +// NetworkControl CommDD MultimediaDD SurroundingsDD TrustedUI SwEvent Location NetworkServices
    1.32 +// ReadUserData WriteUserData LocalServices UserEnvironment
    1.33 +
    1.34 +// Default capabilities to be used in mmp file. Usage example:
    1.35 +// CAPABILITY CAP_APPLICATION
    1.36 +
    1.37 +
    1.38 +// General purpose library (dll). UI framework libraries, parsers, basic system 
    1.39 +// services.
    1.40 +#define CAP_GENERAL_DLL ALL -TCB
    1.41 +
    1.42 +// Application (exe), UI or non-UI.
    1.43 +#define CAP_APPLICATION NetworkServices LocalServices Location ReadUserData \
    1.44 +                        WriteUserData ReadDeviceData WriteDeviceData SwEvent UserEnvironment
    1.45 +
    1.46 +// MIME-type recogniser. MIME-type recognisers (RecMmf.mdl).
    1.47 +#define CAP_RECOGNISER ProtServ
    1.48 +
    1.49 +// ECOM plugin (dll). HTTP transport framework filters, MMF plugins, 
    1.50 +// ICL plugins.
    1.51 +#define CAP_ECOM_PLUGIN ALL -TCB
    1.52 +
    1.53 +// Server (exe). Symbian OS servers.
    1.54 +#define CAP_SERVER ProtServ ReadDeviceData WriteDeviceData SwEvent Location \
    1.55 +                   NetworkServices ReadUserData WriteUserData LocalServices UserEnvironment
    1.56 +
    1.57 +// Client-side interfaces for servers.
    1.58 +#define CAP_CLIENT_DLL ALL -TCB
    1.59 +
    1.60 +// Device Drivers. Display driver, audio driver, camera driver.
    1.61 +#define CAP_DEVICE_DRIVER ALL
    1.62 +
    1.63 +// File server components. File system extensions.
    1.64 +#define CAP_FILE_SERVER ALL
    1.65 +
    1.66 +// SW installer server components. Utilities used by sw install 
    1.67 +// (cryptographic libraries, parsers).
    1.68 +#define CAP_SW_INSTALL TCB NetworkServices ReadDeviceData WriteDeviceData \
    1.69 +                       ProtServ PowerMgmt AllFiles TrustedUI
    1.70 +
    1.71 +// Kernel components. Any utility used by kernel.
    1.72 +#define CAP_KERNEL ALL
    1.73 +
    1.74 +
    1.75 +#endif
    1.76 +            
    1.77 +// End of File