home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-seriously_amiga-
/
programming
/
c
/
asap
/
preferences.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-23
|
2KB
|
43 lines
/*****************************************************************************
* *
* ASAP - Amiga Software Authoring Platform *
* *
* Written by Laurie Perrin *
* *
* APreferences wrapper class *
* *
*****************************************************************************/
#ifndef ASAP_APreferences_H
#define ASAP_APreferences_H
extern "C"
{
#include <Proto/Intuition.h>
}
class APreferences : public Preferences
{
public:
inline APreferences * GetDefPrefs(long size);
inline APreferences * GetPrefs(long size);
inline APreferences * SetPrefs(long size, BOOL inform);
};
//----------------------------------------------------------------------------
APreferences * APreferences::GetDefPrefs (long size)
{
return (APreferences *) ::GetDefPrefs(this, size);
}
//----------------------------------------------------------------------------
APreferences * APreferences::GetPrefs (long size)
{
return (APreferences *) ::GetPrefs(this, size);
}
//----------------------------------------------------------------------------
APreferences * APreferences::SetPrefs (long size, BOOL inform = 1)
{
return (APreferences *) ::SetPrefs(this, size, inform);
}
#endif