2 ** OpenURL - MUI preferences for openurl.library
4 ** Written by Troels Walsted Hansen <troels@thule.no>
5 ** Placed in the public domain.
8 ** - Alfonso Ranieri <alforan@tin.it>
9 ** - Stefan Kost <ensonic@sonicpulse.de>
11 ** Ported to OS4 by Alexandre Balaban <alexandre@balaban.name>
17 void initStrings ( void );
18 void uninitStrings( void );
19 STRPTR
getString ( ULONG id
);
20 void localizeStrings ( STRPTR
*s
);
21 void localizeNewMenu ( struct NewMenu
*nm
);
22 ULONG
getKeyChar ( UBYTE
*string
, ULONG id
);
26 #define msprintf(to, fmt, ...) ({ ULONG _tags[] = { __VA_ARGS__ }; RawDoFmt(fmt, _tags, (void (*)(void)) 0, to); })
27 int msnprintf ( STRPTR buf
, int size
, STRPTR fmt
, ... ) __attribute((varargs68k
));
28 #elif defined(__amigaos4__)
29 int stccpy(char *dst
, const char *src
, int m
);
30 void SetAmiUpdateENVVariable( CONST_STRPTR varname
);
31 ULONG
DoSuperNew ( struct IClass
*cl
, Object
*obj
, ... ) VARARGS68K
;
32 void msprintf ( STRPTR to
, STRPTR fmt
, ... ) VARARGS68K
;
33 int msnprintf ( STRPTR buf
, int size
, STRPTR fmt
, ... ) VARARGS68K
;
34 #elif defined(__AROS__)
35 ULONG
DoSuperNew ( struct IClass
*cl
, Object
*obj
, ULONG tag1
, ... );
36 #define msprintf __sprintf
37 int msnprintf ( STRPTR buf
, int size
, STRPTR fmt
, ... );
39 ULONG STDARGS
DoSuperNew ( struct IClass
*cl
, Object
*obj
, ... );
40 void STDARGS
msprintf ( STRPTR to
, STRPTR fmt
, ... );
41 int STDARGS
msnprintf ( STRPTR buf
, int size
, STRPTR fmt
, ... );
43 ULONG
xget ( Object
*obj
, ULONG attribute
);
44 Object
*olabel ( ULONG id
);
45 Object
*ollabel ( ULONG id
);
46 Object
*ollabel1 ( ULONG id
);
47 Object
*olabel1 ( ULONG id
);
48 Object
*olabel2 ( ULONG id
);
49 Object
*oflabel ( ULONG text
);
50 Object
*obutton ( ULONG text
, ULONG help
);
51 Object
*oibutton ( ULONG spec
, ULONG help
);
52 Object
*otbutton ( ULONG label
, ULONG help
);
53 Object
*ocheckmark ( ULONG key
, ULONG help
);
54 Object
*opopbutton ( ULONG img
, ULONG help
);
55 Object
*ostring ( ULONG maxlen
, ULONG key
, ULONG help
);
56 Object
*opopport ( ULONG maxLen
, ULONG key
, ULONG help
);
57 Object
*opopph ( STRPTR
*syms
, STRPTR
*names
, ULONG maxLen
, ULONG key
, ULONG asl
, ULONG help
);
58 ULONG
openWindow ( Object
*app
, Object
*win
);
59 ULONG
delEntry ( Object
*obj
, APTR entry
);
62 ULONG
initFTPEditWinClass ( void );
63 void disposeFTPEditWinClass ( void );
66 ULONG
initMailerEditWinClass ( void );
67 void disposeMailerEditWinClass ( void );
69 /* browsereditwin.c */
70 ULONG
initBrowserEditWinClass ( void );
71 void disposeBrowserEditWinClass ( void );
74 ULONG
initAppListClass ( void );
75 void disposeAppListClass ( void );
78 ULONG
initWinClass ( void );
79 void disposeWinClass ( void );
82 ULONG
initAboutClass ( void );
83 void disposeAboutClass ( void );
86 ULONG
initAppClass ( void );
87 void disposeAppClass ( void );
90 ULONG
initPopportClass ( void );
91 void disposePopportClass ( void );
94 ULONG
initPopphClass ( void );
95 void disposePopphClass ( void );
98 ULONG
initPensClass ( void );
99 void disposePensClass ( void );
102 ULONG
initAboutClass ( void );
103 void disposeAboutClass ( void );
110 APTR
NewObject ( struct IClass
*classPtr
, UBYTE
*classID
, ...) __attribute((varargs68k
));
111 APTR
MUI_NewObject ( UBYTE
*classID
, ...) __attribute((varargs68k
));
112 APTR
DoSuperNew ( struct IClass
*cl
, Object
*obj
, ...) __attribute((varargs68k
));