FreeWRL / FreeX3D 4.3.0
nsIFileUtilities Interface Reference

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

import <nsIFileUtilities.idl;

Inheritance diagram for nsIFileUtilities:

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

◆ getProgramPath()

void nsIFileUtilities::getProgramPath ( out constCharPtr aProgramPath)

Returns the name of the browser executable program.

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

◆ getTempDirPath()

void nsIFileUtilities::getTempDirPath ( out constCharPtr aTempDirPath)

Returns the name of the temporary directory.

Parameters
aTempDirPath- the returned path to the temp directory
Returns
- NS_OK if this operation was successful

◆ newTempFileName()

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: