--- a/messagingfw/senduiservices/src/CSendingServiceInfo.cpp Thu Aug 19 10:24:00 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,281 +0,0 @@
-/*
-* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: Encapsulates the ECom plugged sending service data.
-*
-*/
-
-
-
-
-// INCLUDE FILES
-#include <CSendingServiceInfo.h>
-#include "SendingServiceInfoImpl.h"
-
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::CSendingServiceInfo
-// C++ default constructor can NOT contain any code, that
-// might leave.
-// -----------------------------------------------------------------------------
-//
-CSendingServiceInfo::CSendingServiceInfo()
- {
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::ConstructL
-// Symbian 2nd phase constructor can leave.
-// -----------------------------------------------------------------------------
-//
-void CSendingServiceInfo::ConstructL()
- {
- iServiceInfoImpl = CSendingServiceInfoImpl::NewL();
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::NewL
-// Two-phased constructor.
-// -----------------------------------------------------------------------------
-//
-EXPORT_C CSendingServiceInfo* CSendingServiceInfo::NewL()
- {
- CSendingServiceInfo* self = CSendingServiceInfo::NewLC();
-
- CleanupStack::Pop( self );
-
- return self;
- }
-
-// ---------------------------------------------------------
-// CSendingServiceInfo::NewLC
-// Two-phased constructor.
-// ---------------------------------------------------------
-//
-EXPORT_C CSendingServiceInfo* CSendingServiceInfo::NewLC()
- {
- CSendingServiceInfo* self = new (ELeave) CSendingServiceInfo;
-
- CleanupStack::PushL( self );
- self->ConstructL();
-
- return self;
- }
-
-
-// Destructor
-EXPORT_C CSendingServiceInfo::~CSendingServiceInfo()
- {
- delete iServiceInfoImpl;
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::CopyLC
-// Creates a copy of CSendingServiceInfo object.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C CSendingServiceInfo* CSendingServiceInfo::CopyLC() const
- {
- CSendingServiceInfo* serviceInfo = new(ELeave)CSendingServiceInfo;
- CleanupStack::PushL( serviceInfo );
-
- serviceInfo->iServiceInfoImpl = iServiceInfoImpl->CopyL();
-
- return serviceInfo;
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::SetServiceNameL
-// Sets service human readable name.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void CSendingServiceInfo::SetServiceNameL( const TDesC& aServiceName )
- {
- iServiceInfoImpl->SetServiceNameL( aServiceName );
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::ServiceName
-// Returns service human readable name.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C const TPtrC CSendingServiceInfo::ServiceName() const
- {
- return iServiceInfoImpl->ServiceName();
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::SetServiceMenuNameL
-// Sets service human readable name for the "Send"-menu.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void CSendingServiceInfo::SetServiceMenuNameL(
- const TDesC& aServiceMenuName )
- {
- iServiceInfoImpl->SetServiceMenuNameL( aServiceMenuName );
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::ServiceMenuName
-// Returns service human readable name for the "Send"-menu.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C const TPtrC CSendingServiceInfo::ServiceMenuName() const
- {
- return iServiceInfoImpl->ServiceMenuName();
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::SetServiceAddressL
-// Sets service address.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void CSendingServiceInfo::SetServiceAddressL(
- const TDesC& aServiceAddress )
- {
- iServiceInfoImpl->SetServiceAddressL( aServiceAddress );
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::ServiceAddress
-// Returns service address.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C const TPtrC CSendingServiceInfo::ServiceAddress() const
- {
- return iServiceInfoImpl->ServiceAddress();
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::SetServiceId
-// Sets service id.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void CSendingServiceInfo::SetServiceId( TUid aServiceId )
- {
- iServiceInfoImpl->SetServiceId( aServiceId );
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::ServiceId
-// Returns service id.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C TUid CSendingServiceInfo::ServiceId() const
- {
- return iServiceInfoImpl->ServiceId();
- }
-
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::ServiceId
-// Returns service id.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void CSendingServiceInfo::SetTechnologyTypeId( TUid aTechnologyType )
- {
- return iServiceInfoImpl->SetTechnologyTypeId( aTechnologyType );
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::ServiceId
-// Returns service id.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C TUid CSendingServiceInfo::TechnologyTypeId() const
- {
- return iServiceInfoImpl->TechnologyTypeId();
- }
-
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::SetServiceProviderId
-// Sets service provider id.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void CSendingServiceInfo::SetServiceProviderId( TUid aServiceProviderId )
- {
- iServiceInfoImpl->SetServiceProviderId( aServiceProviderId );
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::ServiceProviderId
-// Returns service provider id.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C TUid CSendingServiceInfo::ServiceProviderId() const
- {
- return iServiceInfoImpl->ServiceProviderId();
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::SetServiceCapabilities
-// Set service sending capabilities.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void CSendingServiceInfo::SetServiceCapabilities(
- TSendingCapabilities aServiceCapabilities )
- {
- iServiceInfoImpl->SetServiceCapabilities( aServiceCapabilities );
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::ServiceCapabilities
-// Returns service sending capabilities.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C TSendingCapabilities CSendingServiceInfo::ServiceCapabilities() const
- {
- return iServiceInfoImpl->ServiceCapabilities();
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::SetServiceCapabilities
-// Set service sending capabilities.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void CSendingServiceInfo::SetServiceFeatures(
- TInt aServiceFeatures )
- {
- iServiceInfoImpl->SetServiceFeatures( aServiceFeatures );
- }
-
-// -----------------------------------------------------------------------------
-// CSendingServiceInfo::ServiceCapabilities
-// Returns service sending capabilities.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C TInt CSendingServiceInfo::ServiceFeatures() const
- {
- return iServiceInfoImpl->ServiceFeatures();
- }
-// End of File