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 ***************************************************************************/
21 #include "SDI_compiler.h"
24 APTR
DoSuperNew(struct IClass
*cl
, APTR obj
, ...);
25 #elif defined(__AROS__)
26 #define DoSuperNew(cl, obj, ...) \
28 IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
29 DoSuperNewTagList(cl, obj, NULL, (struct TagItem *)__args); \
32 Object
* VARARGS68K
DoSuperNew(struct IClass
*cl
, Object
*obj
, ...);
36 void initStrings ( void );
37 void uninitStrings( void );
38 STRPTR
getString ( ULONG id
);
39 void localizeStrings ( STRPTR
*s
);
40 void localizeNewMenu ( struct NewMenu
*nm
);
41 ULONG
getKeyChar (STRPTR string
, ULONG id
);
44 #if defined(__amigaos4__)
45 void SetAmiUpdateENVVariable( CONST_STRPTR varname
);
47 Object
*olabel ( ULONG id
);
48 Object
*ollabel ( ULONG id
);
49 Object
*ollabel1 ( ULONG id
);
50 Object
*olabel1 ( ULONG id
);
51 Object
*olabel2 ( ULONG id
);
52 Object
*oflabel ( ULONG text
);
53 Object
*obutton ( ULONG text
, ULONG help
);
54 Object
*oibutton ( ULONG spec
, ULONG help
);
55 Object
*otbutton ( ULONG label
, ULONG help
);
56 Object
*ocheckmark ( ULONG key
, ULONG help
);
57 Object
*opopbutton ( ULONG img
, ULONG help
);
58 Object
*ostring ( ULONG maxlen
, ULONG key
, ULONG help
);
59 Object
*opopport ( ULONG maxLen
, ULONG key
, ULONG help
);
60 Object
*opopph ( CONST_STRPTR
*syms
, STRPTR
*names
, ULONG maxLen
, ULONG key
, ULONG asl
, ULONG help
);
61 ULONG
openWindow ( Object
*app
, Object
*win
);
62 IPTR
delEntry ( Object
*obj
, APTR entry
);
63 void STDARGS
msprintf ( STRPTR to
, STRPTR fmt
, ... ) VARARGS68K
;
64 int STDARGS
msnprintf ( STRPTR buf
, int size
, STRPTR fmt
, ... ) VARARGS68K
;
67 BOOL
initFTPEditWinClass ( void );
68 void disposeFTPEditWinClass ( void );
71 BOOL
initMailerEditWinClass ( void );
72 void disposeMailerEditWinClass ( void );
74 /* browsereditwin.c */
75 BOOL
initBrowserEditWinClass ( void );
76 void disposeBrowserEditWinClass ( void );
79 BOOL
initAppListClass ( void );
80 void disposeAppListClass ( void );
83 BOOL
initWinClass ( void );
84 void disposeWinClass ( void );
87 BOOL
initAboutClass ( void );
88 void disposeAboutClass ( void );
91 BOOL
initAppClass ( void );
92 void disposeAppClass ( void );
95 BOOL
initPopportClass ( void );
96 void disposePopportClass ( void );
99 BOOL
initPopphClass ( void );
100 void disposePopphClass ( void );