Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsUpdateDriver.h File Reference
#include "nscore.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 NS_HIDDEN_ (nsresult) ProcessUpdates(nsIFile *greDir
 This function processes any available updates.

Variables

nsIFileappDir
nsIFile nsIFileupdRootDir
nsIFile nsIFile int argc
nsIFile nsIFile int char ** argv

Function Documentation

NS_HIDDEN_ ( nsresult  ) [inline]

This function processes any available updates.

This routine attempts to delete a directory that may contain some files that are still in use.

Resolves a relative path string containing "." and ".." with respect to a base path (assumed to already be resolved).

As part of that process, it may exit the current process and relaunch it at a later time.

Two directories are passed to this function: greDir (where the actual binary resides) and appDir (which contains application.ini for XULRunner apps). If this is not a XULRunner app then appDir is identical to greDir.

The argc and argv passed to this function should be what is needed to relaunch the current process.

This function does not modify greDir or appDir.


Variable Documentation

Definition at line 60 of file nsUpdateDriver.h.

Definition at line 60 of file nsUpdateDriver.h.

Definition at line 60 of file nsUpdateDriver.h.

Definition at line 60 of file nsUpdateDriver.h.