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/
19 ***************************************************************************/
24 #ifndef EXEC_LIBRARIES_H
25 #include <exec/libraries.h>
28 #ifndef EXEC_SEMAPHORES_H
29 #include <exec/semaphores.h>
36 /***************************************************************************/
40 struct Library libBase
;
41 struct Library
*sysBase
;
43 struct SignalSemaphore libSem
;
45 struct SignalSemaphore poolSem
;
46 struct URL_Prefs
*prefs
;
47 struct SignalSemaphore prefsSem
;
53 #include <proto/openurl.h>
55 /***************************************************************************/
57 #if defined(__amigaos4__)
58 extern struct Library
*SysBase
;
60 extern struct ExecBase
*SysBase
;
63 extern struct LibraryHeader
*OpenURLBase
;
65 #if defined(__amigaos4__)
66 #define __BASE_OR_IFACE_TYPE struct OpenURLIFace *
67 #define __BASE_OR_IFACE_VAR IOpenURL
69 #define __BASE_OR_IFACE_TYPE struct LibraryHeader *
70 #define __BASE_OR_IFACE_VAR OpenURLBase
72 #define __BASE_OR_IFACE __BASE_OR_IFACE_TYPE __BASE_OR_IFACE_VAR
74 /***************************************************************************/
82 /***************************************************************************/