Corrections to SVN properties.
[AROS.git] / external / openurl / library / lib.h
blob712cb241236e1ff8c1f77c350abfbfaad1b89871
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-2009 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 #include <clib/alib_protos.h>
33 #if !defined(__AROS__)
34 #include <clib/debug_protos.h>
35 #endif
37 #include <libraries/openurl.h>
39 #include <stdlib.h>
40 #include <string.h>
41 #include <ctype.h>
43 #include "base.h"
44 #include <macros.h>
46 /**************************************************************************/
48 #define DEF_ENV "ENV:OpenURL.prefs"
49 #define DEF_ENVARC "ENVARC:OpenURL.prefs"
51 #define DEF_FLAGS (UPF_ISDEFAULTS|UPF_PREPENDHTTP|UPF_DOMAILTO)
53 #define DEF_DefShow TRUE
54 #define DEF_DefBringToFront TRUE
55 #define DEF_DefNewWindow FALSE
56 #define DEF_DefLaunch TRUE
58 // ABA, TO BE ABLE TO COMPILE, DON'T KNOW WHY, SEEMS SOMETHING MESSED IN OPENURL.H
59 //#define URL_GetPrefs_Default URL_GetPrefs_Mode
61 /**************************************************************************/
63 struct startMsg
65 struct Message link;
66 STRPTR port;
67 STRPTR cmd;
68 BOOL res;
71 /**************************************************************************/
73 enum
75 LOADPREFS_ENV,
76 LOADPREFS_ENVARC,
78 LOADPREFS_LAST
81 /**************************************************************************/
83 #include "lib_protos.h"
85 /**************************************************************************/
87 #endif /* _LIB_H */