msenconsumerpolicy.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : MSenConsumerPolicy.h
00004 *  Part of     : Web Services Description
00005 *  Interface   : 
00006 *  Description : This abstract class defines consumer 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_CONSUMER_POLICY_H
00022 #define M_SEN_CONSUMER_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 
00072 class MSenConsumerPolicy
00073         {
00074     public: // New functions
00075                 
00081                 virtual void SetConsumerIapIdL(TUint32 aIapId) = 0;
00082 
00095                 virtual TInt ConsumerIapId(TUint32& aCurrentIapId) = 0;
00096 
00104                 virtual void SetConsumerIdentityProviderIdsL(
00105                                                                                 CSenIdentityProviderIdArray8& aList) = 0;
00106 
00116                 virtual TInt AddConsumerIdentityProviderIdL(const TDesC8& aProviderId) = 0;
00117 
00125                 virtual TInt RebuildFromConsumerPolicy(MSenConsumerPolicy& aTemplate) = 0;
00126 
00133                 virtual const CSenIdentityProviderIdArray8& 
00134                                                                                         ConsumerIdentityProviderIds8L() = 0;
00135 
00142                 virtual TBool AcceptsConsumerPolicy(MSenConsumerPolicy& aPolicyPattern) = 0;        
00143     };
00144 
00145 //M_SEN_CONSUMER_POLICY_H
00146 #endif
00147 
00148 // End of File
00149 
00150 

Copyright © Nokia Corporation 2001-2008
Back to top