equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2010 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 #ifndef SECURITY_H |
|
19 #define SECURITY_H |
|
20 |
|
21 #include <string> |
|
22 #include <memory> |
|
23 #include "javastorage.h" |
|
24 |
|
25 class Security |
|
26 { |
|
27 public: |
|
28 Security(); |
|
29 ~Security(); |
|
30 |
|
31 std::wstring getSecurityWarningsMode(); |
|
32 void setSecurityWarningsMode(const std::wstring& aMode); |
|
33 int getSecurityPolicy(); |
|
34 void setSecurityPolicy(int aPolicyId); |
|
35 |
|
36 private: |
|
37 void findColumn(const java::storage::JavaStorageApplicationEntry_t& aEntry, |
|
38 const std::wstring& aColName, std::wstring& aColValue); |
|
39 |
|
40 std::auto_ptr<java::storage::JavaStorage> iStorage; |
|
41 }; |
|
42 |
|
43 #endif // SECURITY_H |
|