Hi Martin

    You've been helping me twice in no time (relatively to a news group
    time referential at least ;)

    Thank you very much.

    Pure curiosity : in which way are you involved into Mozilla / Firefox ?

    And now we'v started a multi news group question / answer thread,
    here is today's question ;) :

    After having a (long) look to the XPCOM documentation you pointed
    out, i finally found the cache service i was looking for :


http://www.xulplanet.com/references/xpcomref/ifaces/nsICacheService.html

    Unfortunately, the way to use it is still a bite fuzzy. I'm planing to
get a
    file back from the cache according to a given URI.

    But the only way to fetch something from the cache i can figure out is
    thru this sequence of method call (starting from the previous
CacheService) :


http://www.xulplanet.com/references/xpcomref/ifaces/nsICacheService.html#method_createSession

http://www.xulplanet.com/references/xpcomref/ifaces/nsICacheSession.html

http://www.xulplanet.com/references/xpcomref/ifaces/nsICacheSession.html#method_openCacheEntry

    What this method is returning give me almost a direct access to what i'm
    looking for (the file representation of a jpg to access exif part of
it).

    But that it is requesting a "char *key" parameter is puzzling me ...

    Do you know by any luck :

        - What this key parameter is all about. There is not much
documentation
        about this one.

        - If there is a way to convert an URI into a key ?

    I have the bad feeling that it's not as simple as having a 1:1
    mapping between a URI and a key :(

Regards

Benoit Lefevre.


"Martin Honnen" <[EMAIL PROTECTED]> a �crit dans le message de
news:[EMAIL PROTECTED]
>
>
> Benoit Lefevre wrote:
>
>
> > The only question pending is : where can i find a complete and up to
> > date documentation about XPConnect methods exposed by Firefox.
>
> Do you know XUL planet <http://www.xulplanet.com/>?
> It has an XPCOM reference
>    http://xulplanet.com/references/xpcomref/
>
> -- 
>
> Martin Honnen
> http://JavaScript.FAQTs.com/


_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to