javacommons/security/legacysupport/midp2userpreferences/inc/UserPreferences.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 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 *
       
    16 */
       
    17 #include <e32base.h>
       
    18 #include <MUserPreferences.h>
       
    19 #include <MSecurityPreferences.h>
       
    20 #include <MMIDletSuiteUserPreferencesIterator.h>
       
    21 #include <MMIDletSuiteCustomAttributes.h>
       
    22 #include <MMIDletSuiteInfo.h>
       
    23 
       
    24 namespace MIDP
       
    25 {
       
    26 
       
    27 class CUserPreferences: public CBase, public MIDP::MUserPreferences
       
    28 {
       
    29 public:
       
    30 
       
    31     static CUserPreferences* NewL();
       
    32 
       
    33     virtual ~CUserPreferences();
       
    34 
       
    35     virtual MIDP::MMIDletSuiteUserPreferencesIterator* IteratorL();
       
    36 
       
    37     virtual MIDP::MMIDletSuiteCustomAttributes* CustomAttributesL(TUint32);
       
    38 
       
    39     virtual MIDP::MSecurityPreferences* SecurityPreferencesL(const MIDP::MMIDletSuiteInfo&);
       
    40 
       
    41 private:
       
    42 
       
    43     void ConstructL();
       
    44 
       
    45     CUserPreferences();
       
    46 };
       
    47 
       
    48 } // end of namespace MIDP