• Andrew Hodgkinson's avatar
    Removed 'The Onion' link from some Hotlist files. Time showed that the site... · 62293187
    Andrew Hodgkinson authored
    Removed 'The Onion' link from some Hotlist files. Time showed that the site wasn't entirely Family Friendly (TM)... Removed Shift Control (it's gone offline now), and corrected the Telegraph URL from ...the-telegraph...
    
    to just ...telegraph...
    
    StrongHelp manual generator now tries to work out the number of lines in
    the table on the root page more intelligently.
    
    Plug-in support extended to handle Shockwave. Quite a lot of underlying
    work for this, including a pseudo cache system for temporary files.
    
    Bug in redraw routines: they plotted background images within table
    cells, when nothing should have been drawn. Oops. When background images
    in cells are properly supported, this can get sorted out.
    
    Tweaked vertical plot position of HRs (up to 4 OS units too high before due
    to rounding).
    
    Various Res file bits and pieces, Ursula build taken up to v1.26 beta
    for release on the Browser site. *Note* not all resources are up to date!
    This will be done after AW97.
    62293187
MiscDefs 2.15 KB
/* Copyright 1997 Acorn Computers Ltd
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/***************************************************/
/* File   : MiscDefs.h                             */
/*                                                 */
/* Purpose: Miscellaneous definitions for the      */
/*          browser.                               */
/*                                                 */
/* Author : A.D.Hodgkinson                         */
/*                                                 */
/* History: 13-Feb-97: Created.                    */
/***************************************************/

/* Browser-defined bits in the flags field of an HStream structure */

#define HFlags_DealtWithToken (1u<<0)
#define HFlags_LinkVisited    (1u<<1)
#define HFlags_IgnoreObject   (1u<<2)

/* Magic words */

#define Magic_Word_TASK 0x4b534154
#define Magic_Word_FULL 0x4c4c5546
#define Magic_Word_CHEC 0x43454843

/* TaskModule definitions */

#define TaskModule_RegisterService   0x4d302
#define TaskModule_DeRegisterService 0x4d303

#define Message_Service              0x4d300

/* HTTP module SWI numbers */

#define HTTP_AddCookie               0x083fbd
#define HTTP_ConsumeCookie           0x083fbe
#define HTTP_EnumerateCookies        0x083fbf

/* Generic string value, for passing long strings through messages */

typedef union string_value
{
  char * ptr;
  int    offset;
}
string_value;

/* ANT suite URL message protocol */

#define Message_ANTOpenURL           0x4af80

typedef struct ant_open_url
{
  int          tag;
  string_value url;
  int          flags;
  string_value file;
  string_value target;
  string_value mimetype;
}
ant_open_url;