muimaster.library: Area class will not eat wheel movement messages
[AROS.git] / external / openurl / library / base.h
blob5591bae08bee0bd87e389de4c9f650f2d6afce10
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 BASE_H
22 #define BASE_H 1
24 #ifndef EXEC_LIBRARIES_H
25 #include <exec/libraries.h>
26 #endif
28 #ifndef EXEC_SEMAPHORES_H
29 #include <exec/semaphores.h>
30 #endif
32 #ifndef DOS_DOS_H
33 #include <dos/dos.h>
34 #endif
36 /***************************************************************************/
38 struct LibraryHeader
40 struct Library libBase;
41 struct Library *sysBase;
42 BPTR segList;
43 struct SignalSemaphore libSem;
44 APTR pool;
45 struct SignalSemaphore poolSem;
46 struct URL_Prefs *prefs;
47 struct SignalSemaphore prefsSem;
48 ULONG flags;
49 ULONG rexx_use;
52 #define __NOLIBBASE__
53 #include <proto/openurl.h>
55 /***************************************************************************/
57 #if defined(__amigaos4__)
58 extern struct Library *SysBase;
59 #else
60 extern struct ExecBase *SysBase;
61 #endif
63 extern struct LibraryHeader *OpenURLBase;
65 #if defined(__amigaos4__)
66 #define __BASE_OR_IFACE_TYPE struct OpenURLIFace *
67 #define __BASE_OR_IFACE_VAR IOpenURL
68 #else
69 #define __BASE_OR_IFACE_TYPE struct LibraryHeader *
70 #define __BASE_OR_IFACE_VAR OpenURLBase
71 #endif
72 #define __BASE_OR_IFACE __BASE_OR_IFACE_TYPE __BASE_OR_IFACE_VAR
74 /***************************************************************************/
76 enum
78 BASEFLG_Init = 1<<0,
79 BASEFLG_Trans = 1<<1,
82 /***************************************************************************/
84 #endif /* BASE_H */