senservicemanager.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : SenServiceManager.h
00004 *  Part of     : Web Services Manager
00005 *  Interface   : 
00006 *  Description : CSenServiceManager class offers API for
00007 *                accessing and managing WebServicesFramework  
00008 *                (WSF) service and identity related data.
00009 *  Version     : 
00010 *
00011 *  Copyright © 2002-2005 Nokia. All rights reserved.
00012 *  This material, including documentation and any related 
00013 *  computer programs, is protected by copyright controlled by 
00014 *  Nokia. All rights are reserved. Copying, including 
00015 *  reproducing, storing, adapting or translating, any 
00016 *  or all of this material requires the prior written consent of 
00017 *  Nokia. This material also contains confidential 
00018 *  information which may not be disclosed to others without the 
00019 *  prior written consent of Nokia.
00020 * ==============================================================================
00021 */
00022 
00023 #ifndef SEN_SERVICE_MANAGER_H
00024 #define SEN_SERVICE_MANAGER_H
00025 
00026 //  INCLUDES
00027 #include <e32base.h> // for CActive
00028 #include <e32std.h>  // for RPointerArray
00029 #include <badesca.h>
00030 
00031 #include <MSenServiceConsumer.h>
00032 #include <MSenServiceDescription.h>
00033 
00034 // FORWARD DECLARATIONS
00035 class CSenXmlServiceDescription;
00036 class CSenIdentityProvider;
00037 
00038 // DATA TYPES
00039 typedef RPointerArray<CSenXmlServiceDescription> RServiceDescriptionArray;
00040 
00041 // CLASS DECLARATION
00042 
00076 class CSenServiceManager : public CActive
00077     {
00078         public: // Constructors and destructor
00079 
00083         IMPORT_C static CSenServiceManager* NewL();
00084         
00088         IMPORT_C static CSenServiceManager* NewLC();
00089 
00090                 // New functions
00091 
00116         virtual TInt ServiceDescriptionsL(      const TDesC8& aURI,
00117                                                                                         RServiceDescriptionArray& aList) = 0;
00118 
00143                 virtual TInt ServiceDescriptionsL(      MSenServiceDescription& aSD,
00144                                                                                         RServiceDescriptionArray& aList) = 0;
00145 
00192                 virtual TInt RegisterServiceDescriptionL(MSenServiceDescription& aSD) = 0;
00193 
00223                 virtual TInt UnregisterServiceDescriptionL(
00224                                                                                                 MSenServiceDescription& aSD) = 0;
00225 
00253                 virtual TInt RegisterIdentityProviderL(CSenIdentityProvider& aProvider) = 0;
00254 
00268                 virtual TInt UnregisterIdentityProviderL(
00269                                                                                 CSenIdentityProvider& aProvider) = 0;
00270 
00271 
00297                 virtual TInt AssociateServiceL( const TDesC8& aURI,
00298                                                                                 const TDesC8& aProviderID) = 0;
00299 
00316                 virtual TInt DissociateServiceL(const TDesC8& aServiceID,
00317                                                                                 const TDesC8& aProviderID) = 0;
00318 
00319         protected:
00320         
00324                 CSenServiceManager();
00325     };
00326 
00327 //SEN_SERVICE_MANAGER_H
00328 #endif
00329 
00330 // End of File
00331 

Copyright © Nokia Corporation 2001-2008
Back to top