00001 /* 00002 * ============================================================================== 00003 * Name : MSenContentHandlerClient.h 00004 * Part of : Web Services Xml 00005 * Interface : 00006 * Description : Central place for debug-type macros 00007 * Version : 00008 * 00009 * Copyright © 2002-2005 Nokia. All rights reserved. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia. All rights are reserved. Copying, including 00013 * reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia. 00018 * ============================================================================== 00019 */ 00020 00021 #ifndef __MSENCONTENTHANDLERCLIENT_H 00022 #define __MSENCONTENTHANDLERCLIENT_H 00023 00024 // INCLUDES 00025 #include <xml\Attribute.h> 00026 00027 using namespace Xml; 00028 00029 // CLASS DECLARATION 00030 00041 class MSenContentHandlerClient 00042 { 00043 public: // New functions 00044 00049 virtual TInt StartDocument() = 0; 00050 00055 virtual TInt EndDocument() = 0; 00056 00073 inline virtual TInt StartElement( const TDesC8& /*aURI*/, 00074 const TDesC8& /*aLocalName*/, 00075 const TDesC8& /*aName*/, 00076 const RAttributeArray& /* apAttrs */) 00077 { 00078 return KErrNotSupported; 00079 } 00080 00093 inline virtual TInt EndElement( const TDesC8& /*aURI*/, 00094 const TDesC8& /*aLocalName*/, 00095 const TDesC8& /*aName*/) 00096 { 00097 return KErrNotSupported; 00098 } 00099 00109 inline virtual TInt Characters(const TDesC8& /*aBuf*/, 00110 const TInt /*aStart*/, 00111 const TInt /*aLength*/) 00112 { 00113 return KErrNotSupported; 00114 } 00115 00125 inline virtual TInt ProcessingInstructions(const TDesC8& /*aTarget*/, 00126 const TDesC8& /*aData*/) 00127 { 00128 return KErrNotSupported; 00129 } 00130 00138 inline virtual TInt SkippedEntity(const TDesC8& /*aName*/) 00139 { 00140 return KErrNotSupported; 00141 } 00142 00151 inline virtual TInt Error(TInt /*aErrorCode*/) 00152 { 00153 return KErrNotSupported; 00154 } 00155 00164 inline virtual TInt StartPrefixMappingL( const TDesC8& /* aPrefix */, 00165 const TDesC8& /* aUri */) 00166 { 00167 return KErrNotSupported; 00168 } 00169 00177 inline virtual TInt EndPrefixMappingL(const TDesC8& /* aPrefix */) 00178 { 00179 return KErrNotSupported; 00180 } 00181 00189 inline virtual TInt OnIgnorableWhiteSpaceL(const TDesC8& /* aBytes */) 00190 { 00191 return KErrNotSupported; 00192 } 00193 00201 inline virtual TAny* GetExtendedInterface(const TInt32 /* aUid */) 00202 { 00203 return NULL; 00204 } 00205 }; 00206 00207 // __MSENCONTENTHANDLERCLIENT_H 00208 #endif 00209 00210 // End of File