S60 3rd Edition API Reference: csendingserviceinfo.h Source File

csendingserviceinfo.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : CSendingServiceInfo.h
00004 *  Part of     : SendUi
00005 *  Description : Encapsulates the ECom plugged sending service data.
00006 *  Version     : 1.0
00007 *
00008 *  Copyright © 2002-2004 Nokia. All rights reserved.
00009 *  This material, including documentation and any related 
00010 *  computer programs, is protected by copyright controlled by 
00011 *  Nokia. All rights are reserved. Copying, including 
00012 *  reproducing, storing, adapting or translating, any 
00013 *  or all of this material requires the prior written consent of 
00014 *  Nokia. This material also contains confidential 
00015 *  Information which may not be disclosed to others without the 
00016 *  prior written consent of Nokia.
00017 *
00018 * ============================================================================
00019 */
00020 
00021 #ifndef CSENDINGSERVICEINFO_H
00022 #define CSENDINGSERVICEINFO_H
00023 
00024 // INCLUDES
00025 #include <e32Base.h>
00026 //#include <SendUi.h>     // TSendingCapabilities
00027 
00028 // FORWARD DECLARATIONS
00029 class TSendingCapabilities;
00030 class CSendingServiceInfoImpl;
00031 
00032 // CLASS DECLARATION
00033 
00040 class CSendingServiceInfo : public CBase
00041     {
00042     public:
00043     
00044         
00045     public:  // Constructors and destructor
00046     
00051         IMPORT_C static CSendingServiceInfo* NewL();
00052         
00057         IMPORT_C static CSendingServiceInfo* NewLC();
00058 
00062         IMPORT_C virtual ~CSendingServiceInfo();
00063 
00064     public: // New functions
00065 
00071         IMPORT_C CSendingServiceInfo* CopyLC() const;
00072 
00080         IMPORT_C void SetServiceNameL( const TDesC& aServiceName );
00081 
00088         IMPORT_C const TPtrC ServiceName() const;
00089 
00097         IMPORT_C void SetServiceMenuNameL( const TDesC& aServiceMenuName );
00098 
00104         IMPORT_C const TPtrC ServiceMenuName() const;
00105 
00112         IMPORT_C void SetServiceAddressL( const TDesC& aServiceAddress );
00113 
00119         IMPORT_C const TPtrC ServiceAddress() const;
00120 
00127         IMPORT_C void SetServiceId( TUid aServiceId );
00128 
00134         IMPORT_C TUid ServiceId() const;
00135 
00142         IMPORT_C void SetServiceProviderId( TUid aServiceProviderId );
00143 
00149         IMPORT_C TUid ServiceProviderId() const;
00150 
00151         
00152 
00153 
00154 
00161         IMPORT_C void SetServiceCapabilities(
00162             TSendingCapabilities aServiceCapabilities );
00163 
00169         IMPORT_C TSendingCapabilities ServiceCapabilities() const;
00170 
00171 
00172         
00173 
00174     private:
00175 
00176 
00180         CSendingServiceInfo();
00181 
00185         void ConstructL();
00186 
00187     private:  // Data
00188 
00189         CSendingServiceInfoImpl*            iServiceInfoImpl;
00190     };
00191 
00192 // CSENDINGSERVICEINFO_H
00193 #endif
00194 
00195 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top