|
|
Rockbox mail archiveSubject: Re: r21912: Storage API : remove undeeded target-specific functionsRe: r21912: Storage API : remove undeeded target-specific functions
From: Rafaël Carré <rafael.carre_at_gmail.com>
Date: Fri, 17 Jul 2009 16:49:49 +0200
On Fri, 17 Jul 2009 16:17:56 +0200
> Rafaël Carré schrieb:
> > In storage.h , storage_soft_reset and storage_disk_is_active were
> I don't agree with that. I think the opposite way would be proper, to
You can still use storage_sleep() in rockbox. The API hasn't changed.
It has changed in the plugins though, these functions are only present
> >> The problem with this approach is how to expose those functions to
> > They only really need to be exported when HAVE_DISK_STORAGE is
> See, here the "complexity is hidden for developers" argument becomes
I don't think it is quite complex.
These functions in fact aren't related to the storage driver, but to
I believe they should be removed from storage driver, and renamed to
> That's the downside of a generic API. Is that a problem? Why was it
I think these functions do not belong to this API, and in fact this
Instead they should be renamed (according to my above explanation)
gevaerts do you have an opinion, since you authored the refactoring of
-- Rafaël Carré
Page was last modified "Jan 10 2012" The Rockbox Crew |