00001 /* 00002 * ============================================================================== 00003 * Name : MSenProviderPolicy.h 00004 * Part of : Web Services Description 00005 * Interface : 00006 * Description : This abstract class defines provider policy interface. 00007 * Version : 00008 * 00009 * Copyright © 2002-2005 Nokia. All rights reserved. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia. All rights are reserved. Copying, including 00013 * reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia. 00018 * ============================================================================== 00019 */ 00020 00021 #ifndef M_SEN_PROVIDER_POLICY_H 00022 #define M_SEN_PROVIDER_POLICY_H 00023 00024 // INCLUDES 00025 #include <e32base.h> // for CActive 00026 #include <badesca.h> 00027 #include <SenDomFragment.h> 00028 00029 // FORWARD DECLARATIONS 00030 class CSenIdentityProviderIdArray8; 00031 00032 // CLASS DECLARATION 00033 00068 class MSenProviderPolicy 00069 { 00070 public: // New functions 00078 virtual void SetIapIdL(TUint32 aIapId) = 0; 00079 00092 virtual TInt IapId(TUint32& aCurrentIapId) = 0; 00093 00103 virtual void SetIdentityProviderIdsL( 00104 CSenIdentityProviderIdArray8& aList) = 0; 00105 00117 virtual TInt AddIdentityProviderIdL(TDesC8& aProviderId) = 0; 00118 00130 virtual TInt RebuildFrom(MSenProviderPolicy& aTemplate) = 0; 00131 00138 virtual const CSenIdentityProviderIdArray8& IdentityProviderIds8L() = 0; 00139 00148 virtual TBool Accepts(MSenProviderPolicy& aPolicyPattern) = 0; 00149 }; 00150 00151 //M_SEN_PROVIDER_POLICY_H 00152 #endif 00153 00154 // End of File