Annotation of libwww/Library/src/HTextImp.html, revision 2.1
2.1 ! frystyk 1: <HTML>
! 2: <HEAD>
! 3: <TITLE>W3C Sample Code Library libwww Rich Hypertext Object - Dummy Implementation</TITLE>
! 4: </HEAD>
! 5: <BODY>
! 6: <H1>
! 7: Dummy Implementation of Rich HyperText Object
! 8: </H1>
! 9: <PRE>
! 10: /*
! 11: ** (c) COPYRIGHT MIT 1995.
! 12: ** Please first read the full copyright statement in the file COPYRIGH.
! 13: */
! 14: </PRE>
! 15: <P>
! 16: If you are not using the libwww HTML parser but you are compiling libwww
! 17: as a shared library then you need to include this dummy implementation of
! 18: the <A HREF="HText.html">HText interface</A> in order to link succesfully.
! 19: In order to compile it in, you can do something like this
! 20: <P>
! 21: <CODE>#ifdef LIBWWW_SHARED<BR>
! 22: #include "HTextImp.h"<BR>
! 23: #endif</CODE>
! 24: <P>
! 25: This module is a part of the <A HREF="http://www.w3.org/pub/WWW/Library/">
! 26: W3C Sample Code Library</A>.
! 27: <PRE>
! 28: #ifndef HTEXTIMP_H
! 29: #define HTEXTIMP_H
! 30:
! 31: #include "HText.h"
! 32: struct _HText {};
! 33: PUBLIC HTStyleSheet * styleSheet = NULL;
! 34: PUBLIC HText * HText_new2 (HTRequest * request, HTParentAnchor * anchor,
! 35: HTStream * stream) {return NULL;}
! 36: PUBLIC void HText_free (HText * me) {}
! 37: PUBLIC void HText_beginAnchor (HText * text, HTChildAnchor * anchor) {}
! 38: PUBLIC void HText_endAnchor (HText * text) {}
! 39: PUBLIC void HText_appendText (HText * text, const char * str) {}
! 40: PUBLIC void HText_appendImage (HText * text, HTChildAnchor * anchor,
! 41: const char *alt, const char * align, BOOL isMap) {}
! 42: PUBLIC void HText_appendCharacter (HText * text, char ch) {}
! 43: PUBLIC void HText_endAppend (HText * text) {}
! 44: PUBLIC void HText_setStyle (HText * text, HTStyle * style) {}
! 45: PUBLIC void HText_beginAppend (HText * text) {}
! 46: PUBLIC void HText_appendParagraph (HText * text) {}
! 47:
! 48: #endif
! 49: </PRE>
! 50: <P>
! 51: <HR>
! 52: <ADDRESS>
! 53: @(#) $Id: HText.html,v 2.28 1997/02/16 18:43:18 frystyk Exp $
! 54: </ADDRESS>
! 55: </BODY></HTML>
Webmaster