Re: [GD-General] A portable preferences library
Brought to you by:
vexxed72
|
From: <ma...@ch...> - 2003-12-04 09:07:27
|
On Wed, 3 Dec 2003, Brian Hook wrote:
>
>
> On Wed, 3 Dec 2003 15:53:17 +0100 (CET), ma...@ch... wrote:
> > On Tue, 2 Dec 2003, Brian Hook wrote:
> >
> >
> >> PrefsLib_OpenPrefs( &p, "~/MyCompany/ThisGame" ); //local to user
> >>
> >
> > I hope this maps to ~/.MyCompany ?
^
Please note the .
>
> Yes, that is the intent, although in retrospect, encoding that in the
> filename is probably not the right way to do things. I'll probably
> change it to:
>
> PrefsLib_OpenPrefs( &p, "MyCompany/ThisGame", PLFLAG_SYSTEM );
>
> where you can specify PLFLAG_SYSTEM, PLFLAG_USER or
> PLFLAG_CURRENT_DIR.
Sounds better!
Mads
--
Mads Bondo Dydensborg. ma...@ch...
Maybe you don't care about Microsoft's victims. When Microsoft starts
charging you for every time you turn your computer on, will you care then?
- Melantha Bacchae on /.
|