gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] allow to read configuration from memory instead of a file


From: Bastien Nocera
Subject: Re: [PATCH] allow to read configuration from memory instead of a file
Date: Sat, 05 Feb 2005 22:57:14 +0000

Hey Pawel,

On Sat, 2005-02-05 at 23:24 +0100, Pawel Kot wrote:
> On Sat, 5 Feb 2005, Bastien Nocera wrote:
> 
> > On Sat, 2005-02-05 at 22:50 +0100, Pawel Kot wrote:
> >> On Sat, 5 Feb 2005, Bastien Nocera wrote:
> >>
> >> Hi Bastien,
> >>
> >>> Attached to this mail is a patch that allows to read the configuration
> >>> from memory, instead of only from a file.
> >>
> >> Please explain how is it useful. I fail to see.
> >
> > gnome-phone-manager generates a configuration file in memory to use the
> > gnokii library, instead of having to create a temporary file and loading
> > the configuration from there.
> 
> This gnome-phone-manager: http://usefulinc.com/software/phonemgr/ ?
> I wasn't aware it supports libgnokii.

Well, it doesn't just yet ;)
I have a patch to make it use libgnokii, which I sent to the mailing
list[1].
There are still a bunch of things that would need working on in
libgnokii. You can probably tell me whether those are possible:
- automated way to tell the driver to use from make and model
- even better, connect only once, and be able to switch drivers on the
fly (connect to the phone, get the identification, switch driver
depending on the make and model, carry on as usual)
- a way to receive events from the phone, such as new SMSs, instead of
having to poll

> > Ie. we don't want to have users needing to create a ~/.gnokiirc, or have
> > gnome-phone-manager needing a hack to load the configuration (create a
> > temp file, load the config file, and then remove it).
> >
> > So, it's completely useless for gnokii itself, but very useful for other
> > front-ends that use another way to create a config file.
> 
> Okay, I'm convinced. I will review the patch.

Great, let me know if any changes are needed, or if there are corner-
cases I didn't account for.

Cheers

[1]: http://article.gmane.org/gmane.comp.gnome.apps.bluetooth/201
---
Bastien Nocera <address@hidden> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]