equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2009 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: Interface definition for policy checker |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MESMRPOLICYCHECKER_H |
|
20 #define MESMRPOLICYCHECKER_H |
|
21 |
|
22 class CESMRPolicy; |
|
23 class TESMRScenarioData; |
|
24 |
|
25 /** |
|
26 * MESMRPolicyChecker defines interface for policy checking operations |
|
27 */ |
|
28 class MESMRPolicyChecker |
|
29 { |
|
30 public: |
|
31 /** |
|
32 * Virtual destructor |
|
33 */ |
|
34 virtual ~MESMRPolicyChecker() {} |
|
35 |
|
36 public: // Interface |
|
37 |
|
38 /** |
|
39 * Tests, whether policy matches against scenario data. |
|
40 * @param aPolicy Reference to policy to be tested. |
|
41 * @param aScenData Reference to scenario data. |
|
42 */ |
|
43 virtual TBool MatchesL( |
|
44 const CESMRPolicy& aPolicy, |
|
45 const TESMRScenarioData& aScenData ) = 0; |
|
46 }; |
|
47 |
|
48 #endif // MESMRPOLICYCHECKER_H |