equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // @file |
|
15 // @internalComponent |
|
16 // |
|
17 // |
|
18 |
|
19 #include "upnpscpr.h" |
|
20 |
|
21 using namespace Messages; |
|
22 |
|
23 CUPnPSubConnectionProvider::CUPnPSubConnectionProvider(ESock::CSubConnectionProviderFactoryBase& aFactory, const MeshMachine::TNodeActivityMap& aActivityMap) |
|
24 : CCoreSubConnectionProvider(aFactory, aActivityMap) |
|
25 { |
|
26 |
|
27 } |
|
28 |
|
29 CUPnPSubConnectionProvider::~CUPnPSubConnectionProvider() |
|
30 { |
|
31 |
|
32 } |
|
33 |
|
34 CUPnPConnectionProvider& CUPnPSubConnectionProvider::BaseConnectionProvider ( ) |
|
35 { |
|
36 #if !defined(__GCCXML__) |
|
37 CConnectionProviderBase& cprBase = mnode_cast<CConnectionProviderBase>(ControlProvider()->RecipientId().Node()); |
|
38 #else |
|
39 CConnectionProviderBase& cprBase = |
|
40 reinterpret_cast<CConnectionProviderBase&>(ControlProvider()->RecipientId().Node()); |
|
41 #endif |
|
42 |
|
43 return static_cast<CUPnPConnectionProvider&>(cprBase); |
|
44 } |
|
45 |
|
46 |