FreeWRL / FreeX3D 4.3.0
|
The nsIFileUtilities interface provides access to random file operations. More...
import <nsIFileUtilities.idl;
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. | |
The nsIFileUtilities interface provides access to random file operations.
To obtain: QueryInterface on nsIPluginManager.
Definition at line 50 of file nsIFileUtilities.idl.
void nsIFileUtilities::getProgramPath | ( | out constCharPtr | aProgramPath | ) |
Returns the name of the browser executable program.
aProgramPath | - the returned path to the program |
void nsIFileUtilities::getTempDirPath | ( | out constCharPtr | aTempDirPath | ) |
Returns the name of the temporary directory.
aTempDirPath | - the returned path to the temp directory |
void nsIFileUtilities::newTempFileName | ( | in string | aPrefix, |
in unsigned long | aLength, | ||
in charPtr | aBuffer ) |
Returns a unique temporary file name.
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 |