javacommons/security/legacysupport/midp2userpreferences/inc/MDomainPolicyFileParser.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 MDOMAINPOLICYFILEPARSER_H |
|
26 #define MDOMAINPOLICYFILEPARSER_H |
|
27 |
|
28 #include <e32base.h> |
|
29 |
|
30 class RFile; |
|
31 |
|
32 namespace MIDP |
|
33 { |
|
34 class MProtectionDomainTable; |
|
35 |
|
36 /** |
|
37 * Interface to a class used to parse a Domain Policy File, and |
|
38 * in doing so, create a list of protection domains contained within. |
|
39 */ |
|
40 class MDomainPolicyFileParser |
|
41 { |
|
42 public: |
|
43 |
|
44 /** Destructor */ |
|
45 virtual ~MDomainPolicyFileParser() = 0; |
|
46 |
|
47 /** |
|
48 * Parse a Domain Policy File looking for Protection Domains. |
|
49 * @param aFile |
|
50 * Reference to an RFile object specifying the Domain Policy File. |
|
51 * @return A pointer to a protection domains table, which the caller |
|
52 * is responsible for deleting. |
|
53 */ |
|
54 virtual MProtectionDomainTable* ParseL(RFile& aFile) = 0; |
|
55 }; |
|
56 |
|
57 inline MDomainPolicyFileParser::~MDomainPolicyFileParser() |
|
58 { |
|
59 } |
|
60 |
|
61 } |
|
62 |
|
63 #endif // MDOMAINPOLICYFILEPARSER_H |