javacommons/security/legacysupport/midp2userpreferences/inc/MProtectionDomainTable.h
equal
deleted
inserted
replaced
|
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 MPROTECTIONDOMAINTABLE_H |
|
26 #define MPROTECTIONDOMAINTABLE_H |
|
27 |
|
28 #include <e32base.h> |
|
29 |
|
30 namespace MIDP |
|
31 { |
|
32 |
|
33 class MProtectionDomain; |
|
34 |
|
35 /** |
|
36 * Abstraction to allow retrieval of named protection domains. |
|
37 */ |
|
38 class MProtectionDomainTable |
|
39 { |
|
40 public: |
|
41 |
|
42 /** Destructor */ |
|
43 virtual ~MProtectionDomainTable() = 0; |
|
44 |
|
45 /** |
|
46 * Return the protection domain corresponding to the supplied name. |
|
47 * @param aName |
|
48 * Descriptor references containing the protection domain name. |
|
49 * @return A pointer to the protection domain which the user is responsible |
|
50 * for deleting. |
|
51 */ |
|
52 virtual const MProtectionDomain* ProtectionDomain(const TDesC& aName) = 0; |
|
53 }; |
|
54 |
|
55 inline MProtectionDomainTable::~MProtectionDomainTable() |
|
56 { |
|
57 } |
|
58 |
|
59 } |
|
60 |
|
61 #endif // MPROTECTIONDOMAINTABLE_H |