nsIDirectoryService

IID:57a66a60-d43a-11d3-8cc2-00609792278c
Inherits From:nsISupports

This interface is intended to be used as a service. To create an object implementing this interface:

var obj = Components.classes["@mozilla.org/file/directory_service;1"].
            getService(Components.interfaces.nsIDirectoryService);

This interface is implemented by the following components:


Methods

void init ( ) void registerProvider ( nsIDirectoryServiceProvider prov ) void unregisterProvider ( nsIDirectoryServiceProvider prov )

void init ( )

Must be called. Used internally by XPCOM initialization.


void registerProvider ( nsIDirectoryServiceProvider prov )

Register a provider with the service.

Arguments:
prov: The service will keep a strong reference to this object. It will be released when the service is released.

void unregisterProvider ( nsIDirectoryServiceProvider prov )

Unregister a provider with the service.

Arguments:
prov

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com