00001 /* 00002 * WinDom: a high level GEM library 00003 * Copyright (c) 1997-2006 windom authors (see AUTHORS file) 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 * 00019 * $Source: /cvsroot/windom/htdocs/doc/html/cookie_8h-source.html,v $ 00020 * Module : definitions of system cookies 00021 * 00022 * CVS info: 00023 * $Author: bercegeay $ 00024 * $Date: 2006/06/22 11:58:26 $ 00025 * $Revision: 1.5 $ 00026 */ 00027 00028 #ifndef __WINDOM_COOKIE__ 00029 #define __WINDOM_COOKIE__ 00030 00031 /* WinX */ 00032 00033 #define WINX_COOKIE 0x57494E58UL /* 'WINX' */ 00034 00035 /* MagiC */ 00036 #define MAGX_COOKIE 0x4D616758UL /* 'MagX' */ 00037 typedef struct { 00038 long magic; /* muž $87654321 sein */ 00039 void *membot; /* Ende der AES- Variablen */ 00040 void *aes_start; /* Startadresse */ 00041 long magic2; /* ist 'MAGX' */ 00042 long date; /* Erstelldatum ttmmjjjj */ 00043 void (*chgres)(int res, int txt); /* Aufl”sung „ndern */ 00044 long (**shel_vector)(void); /* residentes Desktop */ 00045 char *aes_bootdrv; /* von hieraus wurde gebootet */ 00046 int *vdi_device; /* vom AES benutzter VDI-Treiber */ 00047 void *reservd1; 00048 void *reservd2; 00049 void *reservd3; 00050 int version; /* z.B. $0201 ist V2.1 */ 00051 int release; /* 0=alpha..3=release */ 00052 } AESVARS; 00053 00054 typedef struct { 00055 long config_status; 00056 void *dosvars; 00057 AESVARS *aesvars; 00058 void *res1; 00059 void *hddrv_functions; 00060 long status_bits; /* MagiC 3 ab 24.5.95 */ 00061 } MAGX_INFOS; 00062 00063 /* MiNT */ 00064 #define MiNT_COOKIE 0x4D694E54UL /* 'MiNT' */ 00065 00066 /* Let's Them Fly */ 00067 #define LTMF_COOKIE 0x4C544D46UL /* 'LTMF' */ 00068 00069 /* Nvdi */ 00070 #define NVDI_COOKIE 0x4E564449UL /* 'NVDI' */ 00071 00072 /* Naes */ 00073 #define NAES_COOKIE 0x6E414553UL /* 'nAES' */ 00074 00075 /* BubbleGEM */ 00076 00077 #define BUBBLEGEM_REQUEST 0xBABA 00078 #define BUBBLEGEM_SHOW 0xBABB 00079 #define BUBBLEGEM_ACK 0xBABC 00080 #define BUBBLEGEM_ASKFONT 0xBABD 00081 #define BUBBLEGEM_FONT 0xBABE 00082 #define BUBBLEGEM_HIDE 0xBABF 00083 00084 /* drapeaux pour 'BHLP' */ 00085 #define BGC_FONTCHANGED 0x01 00086 #define BGC_NOWINSTYLE 0x02 00087 #define BGC_SENDKEY 0x04 00088 #define BGC_DEMONACTIVE 0x08 00089 #define BGC_TOPONLY 0x10 00090 00091 /* drapeaux pour mot 7 de BUBBLEGEM_SHOW */ 00092 #define BGS7_USRHIDE 0x0001 00093 #define BGS7_MOUSE 0x0004 00094 00095 00096 #define BHLP_COOKIE 0x42484C50UL /* 'BHLP' */ 00097 #define BGEM_COOKIE 0x4247454DUL /* 'BGEM' */ 00098 00099 typedef struct { 00100 long magic; /* nombre magique valant 'BGEM' */ 00101 long size; /* taille de la structure R07: 18 */ 00102 int release; /* num‚ro de version R07: 7, pas de valeur ant‚rieur … 5 */ 00103 int active; /* <>0, if straight line a help displayed becomes; 00104 0 else */ 00105 MFORM *mhelp; /* forme de la souris de Bubble */ 00106 int dtimer; /* depuis R06, D„mon-Timer; Default 200ms; */ 00107 } BGEM; 00108 00109 00110 #endif /* __WINDOM_COOKIE__ */ 00111 00112 /* EOF */