Merged difference between 7.12 and 7.15 into trunk.
[AROS.git] / external / openurl / raPrefs / utility.h
blob729dde3239a0ae0d151a7a332bda874f8c39f59c
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 UTILITY_H
22 #define UTILITY_H
24 #include <intuition/classusr.h>
26 int VARARGS68K RA_Request( Object * pWin, const char * strTitle, const char * strGadgets, const char * strFormat, ... );
27 void freeList( struct List * list );
29 #define iget(obj, attr) ({uint32 b=0; IIntuition->GetAttr(attr, (Object *)(obj), &b); b;})
30 #define gadset(obj, win, ...) IIntuition->SetGadgetAttrs((obj), (win), NULL, __VA_ARGS__, TAG_DONE)
31 #define iset(obj, win, ...) IIntuition->SetAttrs((obj), __VA_ARGS__, TAG_DONE)
33 #endif // UTILITY_H