make.tmpl: add missing compiler attribute to build_progs
[AROS.git] / external / openurl / prefs / OpenURL_protos.h
blob47534b189d0f4b4beaa1e1e9e5e167a18df64176
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 #include "SDI_compiler.h"
23 #ifdef __MORPHOS__
24 APTR DoSuperNew(struct IClass *cl, APTR obj, ...);
25 #elif defined(__AROS__)
26 #define DoSuperNew(cl, obj, ...) \
27 ({ \
28 IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
29 DoSuperNewTagList(cl, obj, NULL, (struct TagItem *)__args); \
31 #else
32 Object * VARARGS68K DoSuperNew(struct IClass *cl, Object *obj, ...);
33 #endif
35 /* loc.c */
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);
43 /* utils.c */
44 #if defined(__amigaos4__)
45 void SetAmiUpdateENVVariable( CONST_STRPTR varname );
46 #endif
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;
66 /* ftpeditwin.c */
67 BOOL initFTPEditWinClass ( void );
68 void disposeFTPEditWinClass ( void );
70 /* mailereditwin.c */
71 BOOL initMailerEditWinClass ( void );
72 void disposeMailerEditWinClass ( void );
74 /* browsereditwin.c */
75 BOOL initBrowserEditWinClass ( void );
76 void disposeBrowserEditWinClass ( void );
78 /* applist.c */
79 BOOL initAppListClass ( void );
80 void disposeAppListClass ( void );
82 /* win.c */
83 BOOL initWinClass ( void );
84 void disposeWinClass ( void );
86 /* about.c */
87 BOOL initAboutClass ( void );
88 void disposeAboutClass ( void );
90 /* app.c */
91 BOOL initAppClass ( void );
92 void disposeAppClass ( void );
94 /* popport.c */
95 BOOL initPopportClass ( void );
96 void disposePopportClass ( void );
98 /* popph.c */
99 BOOL initPopphClass ( void );
100 void disposePopphClass ( void );