Re: adding new info to GnomeVFSFileInfo



On Thu, 2002-10-10 at 11:53, Christophe Fergeau wrote:
> Le jeu 10/10/2002 à 12:37, Michael Meeks a écrit :
> > Hi Christophe,
> > 
> > On Wed, 2002-10-09 at 09:20, Christophe Fergeau wrote:
> > > I thought a little more to that, and I'm really not comfortable with the
> > > way user can prevent gnome_vfs_get_file_info from doing expensive work
> > > when it's not needed.
> > 
> > 	Why ? ;-) it's obviously the best thing to do.
> 
> What I meant was "Imo, the current API to prevent expensive operations
> is suboptimal and not very natural". Obviously it's a good thing to be
> able to prevent unneeded slow operations to happen :)

Me sings the lonely song of getter and setter functions :-). Seriously,
this way we could fetch the info when it's needed and wouldn't have to
load member variables "on suspicion" that someone wanted the info.

Nils
-- 
Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg //
+49.7152.209647
   nils wombat dialup fht-esslingen de / nils redhat de / nils lisas de
   PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011
       Ever noticed that common sense isn't really all that common?

Attachment: signature.asc
Description: This is a digitally signed message part



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