Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIFileUtilities Interface Reference

The nsIFileUtilities interface provides access to random file operations. More...

import "nsIFileUtilities.idl";

Inheritance diagram for nsIFileUtilities:
Inheritance graph
[legend]
Collaboration diagram for nsIFileUtilities:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void getProgramPath (out constCharPtr aProgramPath)
 Returns the name of the browser executable program.
void getTempDirPath (out constCharPtr aTempDirPath)
 Returns the name of the temporary directory.
void newTempFileName (in string aPrefix, in unsigned long aLength, in charPtr aBuffer)
 Returns a unique temporary file name.

Detailed Description

The nsIFileUtilities interface provides access to random file operations.

To obtain: QueryInterface on nsIPluginManager.

Definition at line 50 of file nsIFileUtilities.idl.


Member Function Documentation

Returns the name of the browser executable program.

Parameters:
aProgramPath- the returned path to the program
Returns:
- NS_OK if this operation was successful

Returns the name of the temporary directory.

Parameters:
aTempDirPath- the returned path to the temp directory
Returns:
- NS_OK if this operation was successful
void nsIFileUtilities::newTempFileName ( in string  aPrefix,
in unsigned long  aLength,
in charPtr  aBuffer 
)

Returns a unique temporary file name.

Parameters:
aPrefix- a string to prefix to the temporary file name
aLength- the length of the resulting buffer to receive the data
aBuffer- the returned temp file name
Returns:
- NS_OK if this operation was successful

The documentation for this interface was generated from the following file: