--- a/upnpavcontroller/upnpavcontrollerhelper/src/upnpresourceselector.cpp Fri Sep 17 08:31:21 2010 +0300
+++ b/upnpavcontroller/upnpavcontrollerhelper/src/upnpresourceselector.cpp Mon Nov 01 12:37:49 2010 +0200
@@ -1,67 +1,68 @@
-/*
-* Copyright (c) 2007 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: Interface for selecting a resource within an item
-*
-*/
-
-
-
-
-
-
-// INCLUDE FILES
-#include <upnpitem.h>
-#include "upnpelement.h"
-
-// upnpframework / avcontroller helper api
-#include "upnpitemutility.h" // ResourceFromItemL, GetResElements
-#include "upnpconstantdefs.h" // KElementRes
-#include "upnpresourceselector.h"
-
-
-
-
-
-
-// ==========================================================================
-// METHODS for TUPnPSelectDefaultResource
-// ==========================================================================
-
-// --------------------------------------------------------------------------
-// TUPnPSelectDefaultResource::SelectResourceL
-// this algorithm works BEST
-//---------------------------------------------------------------------------
-EXPORT_C const CUpnpElement& TUPnPSelectDefaultResource::
- SelectResourceL(
- const CUpnpItem& aItem )
- {
- return UPnPItemUtility::ResourceFromItemL( aItem );
- }
-
-
-// ==========================================================================
-// METHODS for TUPnPSelectFirstResource
-// ==========================================================================
-
-// --------------------------------------------------------------------------
-// TUPnPSelectFirstResource::SelectResourceL
-// this algorithm works FAST
-//---------------------------------------------------------------------------
-EXPORT_C const CUpnpElement& TUPnPSelectFirstResource::
- SelectResourceL(
- const CUpnpItem& aItem )
- {
- return UPnPItemUtility::FindElementByNameL( aItem, KElementRes );
- }
-
+/*
+* Copyright (c) 2007 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: Interface for selecting a resource within an item
+*
+*/
+
+
+
+
+
+
+// INCLUDE FILES
+// dlnasrv / mediaserver api
+#include <upnpitem.h>
+#include <upnpelement.h>
+
+// dlnasrv / avcontroller helper api
+#include "upnpitemutility.h" // ResourceFromItemL, GetResElements
+#include "upnpconstantdefs.h" // KElementRes
+#include "upnpresourceselector.h"
+
+
+
+
+
+
+// ==========================================================================
+// METHODS for TUPnPSelectDefaultResource
+// ==========================================================================
+
+// --------------------------------------------------------------------------
+// TUPnPSelectDefaultResource::SelectResourceL
+// this algorithm works BEST
+//---------------------------------------------------------------------------
+EXPORT_C const CUpnpElement& TUPnPSelectDefaultResource::
+ SelectResourceL(
+ const CUpnpItem& aItem )
+ {
+ return UPnPItemUtility::ResourceFromItemL( aItem );
+ }
+
+
+// ==========================================================================
+// METHODS for TUPnPSelectFirstResource
+// ==========================================================================
+
+// --------------------------------------------------------------------------
+// TUPnPSelectFirstResource::SelectResourceL
+// this algorithm works FAST
+//---------------------------------------------------------------------------
+EXPORT_C const CUpnpElement& TUPnPSelectFirstResource::
+ SelectResourceL(
+ const CUpnpItem& aItem )
+ {
+ return UPnPItemUtility::FindElementByNameL( aItem, KElementRes );
+ }
+