version 1.40, 1997/09/26 12:58:48
|
version 1.41, 1997/09/30 15:44:13
|
Line 34
|
Line 34
|
#define MAX_LENGTH 512 |
#define MAX_LENGTH 512 |
#define NAME_LENGTH 32 |
#define NAME_LENGTH 32 |
#define HTAppName "amaya" |
#define HTAppName "amaya" |
#define HTAppVersion "V1.1a Beta" |
#define HTAppVersion "V1.1b" |
|
|
#define URL_SEP '/' |
#define URL_SEP '/' |
#define URL_STR "/" |
#define URL_STR "/" |
Line 51
|
Line 51
|
#endif |
#endif |
|
|
/* The different events for a DoubleClick */ |
/* The different events for a DoubleClick */ |
typedef enum _DoubleClickEvent |
typedef enum _ClickEvent { |
{ |
CE_FALSE, CE_TRUE, CE_FORM_POST, CE_FORM_GET, CE_HELP, CE_MAKEBOOK |
DC_FALSE = 0, |
} ClickEvent; |
DC_TRUE = 1, |
|
DC_FORM_POST = 2, |
|
DC_FORM_GET = 4, |
|
DC_MAKEBOOK = 8 |
|
} |
|
DoubleClickEvent; |
|
|
|
typedef char AmayaReadChar (); |
typedef char AmayaReadChar (); |
|
|
/*typedef void *PresentationTarget; */ |
|
|
|
#define NO 0 |
#define NO 0 |
#define YES 1 |
#define YES 1 |
|
|
Line 203 typedef char* anHistory[DOC_HISTORY_SI
|
Line 194 typedef char* anHistory[DOC_HISTORY_SI
|
|
|
#define DocumentTableLength 10 |
#define DocumentTableLength 10 |
THOT_EXPORT char *DocumentURLs[DocumentTableLength]; |
THOT_EXPORT char *DocumentURLs[DocumentTableLength]; |
|
/* TRUE if the document is displayed by help commands */ |
|
THOT_EXPORT boolean HelpDocuments[DocumentTableLength]; |
/* The whole document is loaded when the corresponding value |
/* The whole document is loaded when the corresponding value |
in FilesLoading is equal to 0 */ |
in FilesLoading is equal to 0 */ |
THOT_EXPORT int FilesLoading[DocumentTableLength]; |
THOT_EXPORT int FilesLoading[DocumentTableLength]; |
/* Gives the status (error, success) of the download of the objects of |
/* Gives the status (error, success) of the download of the objects of |
a document */ |
a document */ |
|
|
THOT_EXPORT anHistory DocHistory[DocumentTableLength]; |
THOT_EXPORT anHistory DocHistory[DocumentTableLength]; |
THOT_EXPORT int DocHistoryIndex[DocumentTableLength]; |
THOT_EXPORT int DocHistoryIndex[DocumentTableLength]; |
|
|
#if !defined(AMAYA_JAVA) && !defined(AMAYA_ILU) |
#if !defined(AMAYA_JAVA) && !defined(AMAYA_ILU) |
THOT_EXPORT int DocNetworkStatus[DocumentTableLength]; |
THOT_EXPORT int DocNetworkStatus[DocumentTableLength]; |
#endif |
#endif |
Line 227 THOT_EXPORT int TTButton;
|
Line 217 THOT_EXPORT int TTButton;
|
#define IMAGE_MODIFIED 3 |
#define IMAGE_MODIFIED 3 |
|
|
#ifdef __STDC__ |
#ifdef __STDC__ |
typedef void (*LoadedImageCallback)(Document doc, Element el, char *file, |
typedef void (*LoadedImageCallback)(Document doc, Element el, char *file, void *extra); |
void *extra); |
|
#else |
#else |
typedef void (*LoadedImageCallback)(); |
typedef void (*LoadedImageCallback)(); |
#endif |
#endif |
|
|
typedef struct _ElemImage |
typedef struct _ElemImage |
{ |
{ |
Element currentElement;/* first element using this image */ |
Element currentElement;/* first element using this image */ |