On Fri, 24 Jun 2005 00:28:49 +0200, Christian Biesinger wrote: > jmp wrote: >> For example there are >> several different directories defined in >> xpcom/io/nsAppDirectoryServiceDefs.h, but there are no native paths >> defined I'm guessing that they are defined at compile-time as much as >> possible, but I don't see where. > > http://lxr.mozilla.org/seamonkey/source/xpcom/io/nsDirectoryService.cpp > and the things it calls, especially > http://lxr.mozilla.org/seamonkey/source/xpcom/io/SpecialSystemDirectory.cpp > > I had already looked at those files, and they seemed promising, but they only mention the files defined in nsDirectoryServiceDefs.h (e.g. NS_OS_HOME_DIR). I'm interested in those defined in nsAppDirectoryServiceDefs.h (e.g. NS_APP_USER_PROFILES_ROOT_DIR).
>> Also, is it possible to change the native paths that the definitions >> point to? > > You could change the mentioned source files... > > Thanks, I'll try this if I can find where to. >> I can see the headers generated >> by xpidl, but I want to know how the interface does things, not just >> what goes into and comes out of the interface. > > Interfaces do not do things. You need to find a component that > implements the interface. There can be many of them. Well, that would certainly clear up a lot of my confusion. Thanks for the reply, hopefully you can help me some more --jMP _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
