javacommons/security/legacysupport/midp2securitypolicyv2/plugins/securitypolicyV2/src/main.cpp
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2003 - 2004 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 
       
    20 
       
    21 #include <f32file.h>
       
    22 #include "SecurityPolicy.h"
       
    23 #include "XPFParser.h"
       
    24 
       
    25 EXPORT_C MIDP::MSecurityPolicyV2* GetSecurityPolicyL(TUint32 aFlags, const TDesC& /*aPolicyName*/)
       
    26 {
       
    27     if (aFlags > 0x0200)
       
    28     {
       
    29         User::Leave(KErrArgument);
       
    30     }
       
    31     return MIDP::CSecurityPolicy::NewL();
       
    32 }
       
    33