equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2007 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 #ifndef METADATAFILEHANDLER_H |
|
20 #define METADATAFILEHANDLER_H |
|
21 |
|
22 #include "javaosheaders.h" |
|
23 #include <string> |
|
24 |
|
25 const int STATE_DELETED = 1; |
|
26 const int STATE_DISABLED = 2; |
|
27 const int STATE_ENABLED = 3; |
|
28 const int STATE_UNDEFINED = -1; |
|
29 |
|
30 namespace java |
|
31 { |
|
32 namespace security |
|
33 { |
|
34 |
|
35 OS_NONSHARABLE_CLASS(JavaCertStoreMetadataFileHandler) |
|
36 { |
|
37 public: |
|
38 static bool writeState(std::string aFilePath, int aState); |
|
39 static int readState(std::string aFilePath); |
|
40 }; |
|
41 |
|
42 } //end namespace security |
|
43 } //end namespace java |
|
44 |
|
45 #endif // METADATAFILEHANDLER_H |