javatools/javacontrolpanel/controlpanel/src.s60/security.h
branchRCL_3
changeset 83 26b2b12093af
parent 77 7cee158cb8cd
child 84 0553e2305d00
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
     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