videofeeds/livetvutils/src/CIptvContentHandlerBase.cpp
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2005 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 the License "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:    Content handler for xml reader callbacks*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 // SYSTEM INCLUDES
       
    21 #include <f32file.h>					// For RFs
       
    22 #include <xml/wbxmlextensionhandler.h>
       
    23 #include "IptvLiveLogger.h"
       
    24 // USER INCLUDES
       
    25 #include "CIptvContentHandlerBase.h"
       
    26 
       
    27 
       
    28 // ----------------------------------------------------------------------------
       
    29 // CIptvContentHandlerBase::CIptvContentHandlerBase()
       
    30 //
       
    31 // Constructor
       
    32 // ----------------------------------------------------------------------------
       
    33 EXPORT_C CIptvContentHandlerBase::CIptvContentHandlerBase()
       
    34 	{
       
    35 	}
       
    36 	
       
    37 // ----------------------------------------------------------------------------
       
    38 // CIptvContentHandlerBase::~CIptvContentHandlerBase()
       
    39 //
       
    40 // Destructor
       
    41 // ----------------------------------------------------------------------------
       
    42 EXPORT_C CIptvContentHandlerBase::~CIptvContentHandlerBase()
       
    43 	{
       
    44 	}
       
    45 
       
    46 // ----------------------------------------------------------------------------
       
    47 // CIptvContentHandlerBase::ConstructL()
       
    48 //
       
    49 // Second phase constructor
       
    50 // ----------------------------------------------------------------------------
       
    51 EXPORT_C void CIptvContentHandlerBase::BaseConstructL()
       
    52 	{
       
    53 	}
       
    54 	
       
    55 // ----------------------------------------------------------------------------
       
    56 // CIptvContentHandlerBase::OnStartDocumentL()
       
    57 //
       
    58 // Setter for service provider id
       
    59 // ----------------------------------------------------------------------------
       
    60 EXPORT_C void CIptvContentHandlerBase::OnStartDocumentL(
       
    61 										const RDocumentParameters& /*aDocParam*/,
       
    62 										TInt /*aErrorCode*/ )
       
    63 	{
       
    64 	// If needed implement in derived class
       
    65 	}
       
    66 
       
    67 // ----------------------------------------------------------------------------
       
    68 // CIptvContentHandlerBase::OnEndDocumentL()
       
    69 //
       
    70 // Setter for service provider id
       
    71 // ----------------------------------------------------------------------------
       
    72 EXPORT_C void CIptvContentHandlerBase::OnEndDocumentL( TInt /*aErrorCode*/ )
       
    73 	{
       
    74 	// If needed implement in derived class
       
    75 	}
       
    76 
       
    77 // ----------------------------------------------------------------------------
       
    78 // CIptvContentHandlerBase::OnStartElementL()
       
    79 //
       
    80 // From MContentHandler
       
    81 // ----------------------------------------------------------------------------
       
    82 EXPORT_C void CIptvContentHandlerBase::OnStartElementL( const RTagInfo& /*aElement*/,
       
    83 						  						      const RAttributeArray& /*aAttributes*/, 
       
    84 						  						  	  TInt /*aErrorCode*/ )
       
    85 	{
       
    86 	// If needed implement in derived class
       
    87 	}
       
    88 
       
    89 
       
    90 // ----------------------------------------------------------------------------
       
    91 // CIptvContentHandlerBase::OnEndElementL()
       
    92 //
       
    93 // From MContentHandler
       
    94 // ----------------------------------------------------------------------------
       
    95 EXPORT_C void CIptvContentHandlerBase::OnEndElementL( const RTagInfo& /*aElement*/,
       
    96 													TInt /*aErrorCode*/ )
       
    97 	{
       
    98 	// If needed implement in derived class
       
    99 	}
       
   100 
       
   101 // ----------------------------------------------------------------------------
       
   102 // CIptvContentHandlerBase::OnContentL()
       
   103 //
       
   104 // From MContentHandler
       
   105 // ----------------------------------------------------------------------------
       
   106 EXPORT_C void CIptvContentHandlerBase::OnContentL( const TDesC8& /*aBytes*/,
       
   107 										  TInt /*aErrorCode*/ )
       
   108 	{
       
   109 	// If needed implement in derived class
       
   110 	}
       
   111 
       
   112 // ----------------------------------------------------------------------------
       
   113 // CIptvContentHandlerBase::OnStartPrefixMappingL()
       
   114 //
       
   115 // From MContentHandler
       
   116 // ----------------------------------------------------------------------------
       
   117 EXPORT_C void CIptvContentHandlerBase::OnStartPrefixMappingL( const RString& /*aPrefix*/,
       
   118 														    const RString& /*aUri*/, 
       
   119 															TInt /*aErrorCode*/ )
       
   120 	{
       
   121 	// If needed implement in derived class
       
   122 	}
       
   123 
       
   124 // ----------------------------------------------------------------------------
       
   125 // CIptvContentHandlerBase::OnEndPrefixMappingL()
       
   126 //
       
   127 // From MContentHandler
       
   128 // ----------------------------------------------------------------------------
       
   129 EXPORT_C void CIptvContentHandlerBase::OnEndPrefixMappingL( const RString& /*aPrefix*/,
       
   130 													  TInt /*aErrorCode*/ )
       
   131 	{
       
   132 	// If needed implement in derived class
       
   133 	}
       
   134 
       
   135 // ----------------------------------------------------------------------------
       
   136 // CIptvContentHandlerBase::OnIgnorableWhiteSpaceL()
       
   137 //
       
   138 // From MContentHandler
       
   139 // ----------------------------------------------------------------------------
       
   140 EXPORT_C void CIptvContentHandlerBase::OnIgnorableWhiteSpaceL( const TDesC8& /*aBytes*/,
       
   141 														 	 TInt /*aErrorCode*/ )
       
   142 	{
       
   143 	// If needed implement in derived class
       
   144 	}
       
   145 
       
   146 // ----------------------------------------------------------------------------
       
   147 // CIptvContentHandlerBase::OnSkippedEntityL()
       
   148 //
       
   149 // From MContentHandler
       
   150 // ----------------------------------------------------------------------------
       
   151 EXPORT_C void CIptvContentHandlerBase::OnSkippedEntityL( const RString& /*aName*/,
       
   152 												   	   TInt /*aErrorCode*/ )
       
   153 	{
       
   154 	// If needed implement in derived class
       
   155 	}
       
   156 
       
   157 // ----------------------------------------------------------------------------
       
   158 // CIptvContentHandlerBase::OnProcessingInstructionL()
       
   159 //
       
   160 // From MContentHandler
       
   161 // ----------------------------------------------------------------------------
       
   162 EXPORT_C void CIptvContentHandlerBase::OnProcessingInstructionL( const TDesC8& /*aTarget*/,
       
   163 								   						   	   const TDesC8& /*aData*/, 
       
   164 								   						   	   TInt /*aErrorCode*/ )
       
   165 	{
       
   166 	// If needed implement in derived class
       
   167 	}
       
   168 
       
   169 // ----------------------------------------------------------------------------
       
   170 // CIptvContentHandlerBase::OnError()
       
   171 //
       
   172 // From MContentHandler
       
   173 // ----------------------------------------------------------------------------
       
   174 EXPORT_C void CIptvContentHandlerBase::OnError( TInt /*aErrorCode*/ )
       
   175 	{
       
   176 	// If needed implement in derived class
       
   177 	}
       
   178 
       
   179 // ----------------------------------------------------------------------------
       
   180 // CIptvContentHandlerBase::GetExtendedInterface()
       
   181 //
       
   182 // From MContentHandler
       
   183 // ----------------------------------------------------------------------------
       
   184 EXPORT_C TAny* CIptvContentHandlerBase::GetExtendedInterface( const TInt32 /*aUid*/ )
       
   185 	{
       
   186 	// If needed implement in derived class
       
   187 	return NULL;
       
   188 	}
       
   189 
       
   190 // end of file