appfw/apparchitecture/tef/tnonnativeruntime/tnonnativeruntime.cpp
branchRCL_3
changeset 63 c2c61fdca848
parent 62 924385140d98
child 64 75184094ace1
child 66 9af619316cbf
equal deleted inserted replaced
62:924385140d98 63:c2c61fdca848
     1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent - Internal Symbian test code 
       
    19 */
       
    20 
       
    21 #include <e32base.h>
       
    22 #include "../t_nonnativetest.h"
       
    23 #include <e32property.h>
       
    24 #include <apacmdln.h>
       
    25 
       
    26 const TUid KPropertyCategory = {0x101F289C};
       
    27 const TUint KNonNativeTestPropertyKey = 2;
       
    28 
       
    29 TInt E32Main()
       
    30     {
       
    31     RProperty forceRegStatus;
       
    32     User::LeaveIfError(forceRegStatus.Attach(KPropertyCategory, KNonNativeTestPropertyKey, EOwnerThread));
       
    33     
       
    34     forceRegStatus.Set(1);
       
    35     forceRegStatus.Close();
       
    36     return(KErrNone);
       
    37     }