-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathSGMLAnchorTextP.h
52 lines (38 loc) · 1.79 KB
/
SGMLAnchorTextP.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*==================================================================*/
/* */
/* SGMLAnchorTextObject */
/* */
/* T.Johnson - (TonyJ@Slacvx.Slac.Stanford.Edu) June.92 */
/* */
/* Defines a anchortext segment for the SGMLHyper widget */
/* */
/*==================================================================*/
#ifndef SGMLANCHORTEXTP_H
#define SGMLANCHORTEXTP_H
#include "SGMLAnchorText.h"
#include "SGMLFormattedTextP.h"
typedef struct _SGMLAnchorTextClassPart{
int ignore; /* no new class elements */
} SGMLAnchorTextClassPart;
typedef struct _SGMLAnchorTextClassRec{
ObjectClassPart object_class;
SGMLTextClassPart sgml_text_class;
SGMLFormattedTextClassPart sgml_formatted_text_class;
SGMLAnchorTextClassPart sgml_anchortext_class;
} SGMLAnchorTextClassRec, *SGMLAnchorTextObjectClass;
extern SGMLAnchorTextClassRec sGMLAnchorTextClassRec;
typedef struct _SGMLAnchorTextPart {
String href; /* pointer to href */
String name; /* pointer to name */
int href_length; /* length of href */
int name_length ; /* length of name */
SGMLRendition visited_rendition;
Boolean visited;
} SGMLAnchorTextPart;
typedef struct _SGMLAnchorTextRec {
ObjectPart object;
SGMLTextPart sgml_text;
SGMLFormattedTextPart sgml_formatted_text;
SGMLAnchorTextPart sgml_anchortext;
} SGMLAnchorTextRec;
#endif SGMLANCHORTEXTP_H