|
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: |
|
15 * Name : conditiononcentrep.h |
|
16 * Part of : System Startup / Condition |
|
17 * Interface : None |
|
18 * Declaration of CConditionOnCentRep and CConditionOnCentRepFlag |
|
19 * classes. |
|
20 * Version : %version: 1 % |
|
21 * This material, including documentation and any related computer |
|
22 * programs, is protected by copyright controlled by Nokia. All |
|
23 * rights are reserved. Copying, including reproducing, storing, |
|
24 * adapting or translating, any or all of this material requires the |
|
25 * prior written consent of Nokia. This material also contains |
|
26 * confidential information which may not be disclosed to others |
|
27 * without the prior written consent of Nokia. |
|
28 * Template version: 4.0 |
|
29 * Nokia Core OS * |
|
30 * File renamed from conditiononcentrep.h to cndcentralrepository.h as part of Core OS transfer. |
|
31 * |
|
32 */ |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 /** |
|
38 @file |
|
39 @internalComponent |
|
40 @released |
|
41 */ |
|
42 |
|
43 #ifndef __CNDCENTRALREPOSITORY_H__ |
|
44 #define __CNDCENTRALREPOSITORY_H__ |
|
45 |
|
46 #include "conditionevaluatebase.h" |
|
47 |
|
48 class CCndCentralRepository : public CConditionEvaluateBase |
|
49 { |
|
50 public: |
|
51 ~CCndCentralRepository(); |
|
52 static CCndCentralRepository* NewL(const TConditionCheckType aConditionCheckType |
|
53 , const TInt aRepositoryId, const TUint aKey, const TInt aCndValue); |
|
54 virtual TBool EvaluateL() const; |
|
55 |
|
56 private: |
|
57 CCndCentralRepository(const TConditionCheckType aConditionCheckType, const TInt aCategory, |
|
58 const TUint aKey, const TInt aCndValue); |
|
59 |
|
60 private: |
|
61 TInt iRepositoryId; |
|
62 TUint iKey; |
|
63 TInt iCndValue; |
|
64 TConditionCheckType iConditionCheckType; |
|
65 }; // class CCndCentralRepository |
|
66 |
|
67 #endif // __CNDCENTRALREPOSITORY_H__ |