appfw/apparchitecture/apgrfx/apsecutils.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 2007-2009 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 // apsecutils.h
       
    15 //
       
    16 
       
    17 #ifndef __APSECUTILS_H__
       
    18 #define __APSECUTILS_H__
       
    19 
       
    20 /** AppArc security utils.
       
    21 
       
    22 This is a set of security related methods for apparc internal usage.
       
    23 
       
    24 @internalComponent 
       
    25 */
       
    26 class CApaSecurityUtils
       
    27     {
       
    28 public:
       
    29     IMPORT_C static TInt CheckAppSecurity( const TPtrC& aAppFilename, 
       
    30                                            TBool& aHasWriteDeviceDataCap, 
       
    31                                            TBool& aIsSidProtected );
       
    32 private:
       
    33     inline static TBool IsSidProtected( const TUint32 aSid );
       
    34     };
       
    35     
       
    36 #include "../apgrfx/apsecutils.inl"
       
    37     
       
    38 #endif // __APSECUTILS_H__