|
1 /** @file |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Implements the CUpnpContentHandler class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "upnpcontenthandler.h" |
|
20 #include "upnpcontenthandlerscontroller.h" |
|
21 #include "upnpignorecontenthandler.h" |
|
22 |
|
23 // ----------------------------------------------------------------------------- |
|
24 // CUpnpContentHandler::CUpnpContentHandler |
|
25 // Constructor |
|
26 // ----------------------------------------------------------------------------- |
|
27 // |
|
28 CUpnpContentHandler::CUpnpContentHandler( |
|
29 CUpnpContentHandlersController& aController ) : |
|
30 iController( aController ) |
|
31 { |
|
32 } |
|
33 |
|
34 // ----------------------------------------------------------------------------- |
|
35 // CUpnpContentHandler::InterestedInAllNamespaces |
|
36 // Returns value if class is interested in tags all namespaces |
|
37 // ----------------------------------------------------------------------------- |
|
38 // |
|
39 TBool CUpnpContentHandler::InterestedInAllNamespaces() |
|
40 { |
|
41 return EFalse; |
|
42 } |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // CUpnpContentHandler::SetIgnoreHandlerL |
|
46 // Set controller's current content handler to IgnoreContentHandler object |
|
47 // ----------------------------------------------------------------------------- |
|
48 // |
|
49 void CUpnpContentHandler::SetIgnoreHandlerL() |
|
50 { |
|
51 iController.SetCurrentContentHandlerL( |
|
52 CUpnpIgnoreContentHandler::NewL( iController ) ); |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // CUpnpContentHandler::ResetState |
|
57 // Resets internal state |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 void CUpnpContentHandler::ResetState() |
|
61 { |
|
62 // no implementation required in base class |
|
63 } |
|
64 // End of File |