modified makefile to allow easier adjustment of build options for different targets...
[AROS-Contrib.git] / dopus / DOpus_Icon / iconinfo.h
blobbb92b29ba0e9d7973bccc23e3db7ac06146d2a30
1 /*
3 Directory Opus 4
4 Original GPL release version 4.12
5 Copyright 1993-2000 Jonathan Potter
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2
10 of the License, or (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 All users of Directory Opus 4 (including versions distributed
22 under the GPL) are entitled to upgrade to the latest version of
23 Directory Opus version 5 at a reduced price. Please see
24 http://www.gpsoft.com.au for more information.
26 The release of Directory Opus 4 under the GPL in NO WAY affects
27 the existing commercial status of Directory Opus 5.
31 #include <aros/debug.h>
32 #if defined(__PPC__) || defined(__AROS__)
33 #undef __saveds
34 #define __saveds
35 #define __chip
36 #define __aligned __attribute__((__aligned__(4)))
37 #define lsprintf sprintf
38 #define __asm(A)
39 #define _exit exit
40 #endif
42 //#include <fctype.h>
43 #include <string.h>
44 #include <stdlib.h>
45 #include <stdio.h>
46 #include <stdarg.h>
47 #include <exec/types.h>
48 #include <exec/memory.h>
49 #include <exec/execbase.h>
50 #include <dos/dos.h>
51 #include <dos/dosextens.h>
52 #include <intuition/intuitionbase.h>
53 #include <intuition/sghooks.h>
54 #include <intuition/iobsolete.h>
55 #include <workbench/workbench.h>
56 #include <workbench/startup.h>
57 //#include <proto/all.h>
58 #include <proto/exec.h>
59 #include <proto/dos.h>
60 #include <proto/intuition.h>
61 #include <proto/graphics.h>
62 #include <proto/layers.h>
63 #include <proto/asl.h>
64 #include <proto/utility.h>
65 #include <proto/console.h>
66 #include <proto/locale.h>
67 #include <proto/dopus.h>
68 #include <proto/diskfont.h>
69 #include <proto/icon.h>
70 #include <proto/workbench.h>
71 #include <clib/alib_protos.h>
73 //#include "dopusbase.h"
74 #include <dopus/dopusbase.h>
75 #ifndef __AROS__
76 #include "dopuspragmas.h"
77 #endif
78 //#include "requesters.h"
79 #include <dopus/requesters.h>
80 #include <dopus/dopusmessage.h>
81 #include <dopus/stringdata.h>
82 #include "iconstrings.h"
84 #define II_TTLINES 5 /* Number of tooltype lines */
86 enum {
87 II_SAVE, /* Save changes to icon */
88 II_SKIP, /* Leave this icon unchanged */
89 II_CANCEL, /* Lose changes to icon */
90 II_STACK, /* Stack size of projects */
91 II_COMMENT, /* Comment field */
92 II_DEFAULTTOOL, /* Default tool field */
93 II_TOOLTYPE, /* ToolType string gadget */
94 II_NEW, /* New ToolType */
95 II_DELETE}; /* Delete ToolType */
97 extern struct DOpusBase *DOpusBase;
98 extern struct IntuitionBase *IntuitionBase;
99 extern struct GfxBase *GfxBase;
100 extern struct Library *IconBase;
101 extern struct Library *LayersBase;
102 //extern struct Library *SysBase;
104 extern char protect_flags[6];
105 extern char *specific_gadtext[5][6];
106 extern char *icon_type_names[];
107 extern char protect_keys[6];
109 extern struct DefaultString default_strings[];
111 #define STRING_VERSION 1
113 #include "functions.h"
115 struct DOpusStartup {
116 struct WBStartup wbstartup;
117 int retcode;