javacommons/security/legacysupport/midp2userpreferences/inc/MProtectionDomain.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2002 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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 /**
       
    20 @file
       
    21 @publishedPartner
       
    22 @released
       
    23 */
       
    24 
       
    25 #ifndef MPROTECTIONDOMAIN_H
       
    26 #define MPROTECTIONDOMAIN_H
       
    27 
       
    28 #include <e32base.h>
       
    29 
       
    30 namespace MIDP
       
    31 {
       
    32 /**
       
    33  * Abstraction to manage the runtime use of Protection Domains.
       
    34  */
       
    35 class MProtectionDomain
       
    36 {
       
    37 public:
       
    38 
       
    39     /**
       
    40      * Returns the list of permissions for this Protection Domain.
       
    41      *
       
    42      */
       
    43     virtual const RPointerArray<MPermission>& Permissions(void) const = 0;
       
    44 };
       
    45 
       
    46 
       
    47 }
       
    48 
       
    49 #endif // MPROTECTIONDOMAIN_H