persistentstorage/sql/SRC/Server/SqlSrvAuthorizer.h
changeset 0 08ec8eefde2f
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2005-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 //
       
    15 
       
    16 #ifndef __SQLSRVAUTHORIZER_H__
       
    17 #define __SQLSRVAUTHORIZER_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 
       
    21 //Forward declarations
       
    22 class TSecurityPolicy;
       
    23 
       
    24 /**
       
    25 Intefrace class used for asserting the calling application capabilities aginst the TSecurityPolicy parameter
       
    26 of the Check() function.
       
    27 
       
    28 @see TSecurityPolicy
       
    29 
       
    30 @internalComponent
       
    31 */
       
    32 NONSHARABLE_CLASS(MSqlPolicyInspector)
       
    33 	{
       
    34 public:
       
    35 	virtual TBool Check(const TSecurityPolicy& aPolicy) const = 0;
       
    36 	
       
    37 	};
       
    38 	
       
    39 
       
    40 #endif//__SQLSRVAUTHORIZER_H__