Fixed compatibility of output.
[AROS.git] / external / openurl / library / lib.h
blobec31fd1fc0e2132047e4e462f3062490a9bb66a0
1 /***************************************************************************
3 openurl.library - universal URL display and browser launcher library
4 Copyright (C) 1998-2005 by Troels Walsted Hansen, et al.
5 Copyright (C) 2005-2013 by openurl.library Open Source Team
7 This library is free software; it has been placed in the public domain
8 and you can freely redistribute it and/or modify it. Please note, however,
9 that some components may be under the LGPL or GPL license.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 openurl.library project: http://sourceforge.net/projects/openurllib/
17 $Id$
19 ***************************************************************************/
21 #ifndef _LIB_H
22 #define _LIB_H
24 #include <proto/exec.h>
25 #include <proto/dos.h>
26 #include <proto/intuition.h>
27 #include <proto/utility.h>
28 #include <proto/iffparse.h>
29 #include <proto/rexxsyslib.h>
31 #if defined(__amigaos4__)
32 #include <dos/obsolete.h>
33 #endif
35 #include <clib/alib_protos.h>
37 #if !defined(__AROS__)
38 #include <clib/debug_protos.h>
39 #endif
41 #include <libraries/openurl.h>
43 #include <stdlib.h>
44 #include <string.h>
45 #include <ctype.h>
47 #include "base.h"
48 #include <macros.h>
50 /**************************************************************************/
52 #define DEF_ENV "ENV:OpenURL.prefs"
53 #define DEF_ENVARC "ENVARC:OpenURL.prefs"
55 #define DEF_FLAGS (UPF_ISDEFAULTS|UPF_PREPENDHTTP|UPF_DOMAILTO)
57 #define DEF_DefShow TRUE
58 #define DEF_DefBringToFront TRUE
59 #define DEF_DefNewWindow FALSE
60 #define DEF_DefLaunch TRUE
62 // ABA, TO BE ABLE TO COMPILE, DON'T KNOW WHY, SEEMS SOMETHING MESSED IN OPENURL.H
63 //#define URL_GetPrefs_Default URL_GetPrefs_Mode
65 /**************************************************************************/
67 struct startMsg
69 struct Message link;
70 STRPTR port;
71 STRPTR cmd;
72 BOOL res;
75 /**************************************************************************/
77 enum
79 LOADPREFS_ENV,
80 LOADPREFS_ENVARC,
82 LOADPREFS_LAST
85 /**************************************************************************/
87 #include "lib_protos.h"
89 /**************************************************************************/
91 #endif /* _LIB_H */