convergedcallengine/callprovider/src/cccpcallparameters.cpp
changeset 0 ff3b6d0fd310
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/convergedcallengine/callprovider/src/cccpcallparameters.cpp	Tue Feb 02 01:11:09 2010 +0200
@@ -0,0 +1,92 @@
+/*
+* Copyright (c) 2005-2006 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:  Methods for call paramsclass.
+*
+*/
+
+
+// INCLUDE FILES
+#include <e32base.h>
+#include <mccpcall.h>
+#include <cccpcallparameters.h>
+
+
+
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+
+// -----------------------------------------------------------------------------
+// Ccallprovider::NewL
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+EXPORT_C CCCPCallParameters* CCCPCallParameters::NewL()
+    {
+    CCCPCallParameters* self = new(ELeave)CCCPCallParameters();
+    CleanupStack::PushL( self );
+    self->ConstructL();
+    CleanupStack::Pop( self );
+    return self;
+    }
+
+// -----------------------------------------------------------------------------
+// Ccallprovider::NewLC
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+EXPORT_C CCCPCallParameters::~CCCPCallParameters()
+    {
+    }
+
+CCCPCallParameters* CCCPCallParameters::CloneL() const
+    {
+    CCCPCallParameters* clone = CCCPCallParameters::NewL();
+    clone->SetServiceId( iServiceId );
+    clone->SetCallType( iCallType );
+    return clone;    
+    }
+
+EXPORT_C void CCCPCallParameters::SetServiceId(TUint32 aServiceId)
+    {
+    iServiceId = aServiceId;
+    }
+
+
+EXPORT_C TUint32 CCCPCallParameters::ServiceId() const
+    {
+    return iServiceId;
+    }
+
+
+EXPORT_C void CCCPCallParameters::SetCallType(CCPCall::TCallType aCallType)
+    {
+    iCallType = aCallType;
+    }
+
+
+EXPORT_C CCPCall::TCallType CCCPCallParameters::CallType() const
+    {
+    return iCallType;
+    }
+
+EXPORT_C CCCPCallParameters::CCCPCallParameters()
+    {
+    }
+
+
+EXPORT_C void CCCPCallParameters::ConstructL()
+    {
+    }
+