Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsXFormsModelElement.h File Reference
#include "nsXFormsStubElement.h"
#include "nsIModelElementPrivate.h"
#include "nsIXFormsNSModelElement.h"
#include "nsIDOMEventListener.h"
#include "nsISchema.h"
#include "nsCOMArray.h"
#include "nsVoidArray.h"
#include "nsCOMPtr.h"
#include "nsIDOMDocument.h"
#include "nsIDOMNodeList.h"
#include "nsXFormsMDGEngine.h"
#include "nsXFormsUtils.h"
#include "nsIClassInfo.h"
#include "nsISchemaLoader.h"
#include "nsIXFormsContextControl.h"
#include "nsDataHashtable.h"
#include "nsRefPtrHashtable.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsXFormsModelInstanceDocuments
 Implementation of the instance node list returned by nsIXFormsModel::getInstanceDocuments. More...
class  nsXFormsControlListItem
 A class for storing pointers to XForms controls added to an XForms model. More...
class  nsXFormsControlListItem::iterator
 An iterator implementation for the class. More...
class  nsXFormsModelElement
 Implementation of the XForms <model> element. More...
class  nsPostRefresh
 nsPostRefresh is needed by the UI Controls, which are implemented in XBL and used inside <repeat>. More...

Functions

 NS_HIDDEN_ (nsresult) NS_NewXFormsModelElement(nsIXTFElement **aResult)
 This routine attempts to delete a directory that may contain some files that are still in use.

Function Documentation

NS_HIDDEN_ ( nsresult  ) [inline]

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).

This routine returns the trash directory corresponding to the given directory.

This later point is only an issue on Windows and a few other systems.

If the moveToTrash parameter is true, then the process for deleting the directory creates a sibling directory of the same name with the ".Trash" suffix. It then attempts to move the given directory into the corresponding trash folder (moving individual files if necessary). Next, it proceeds to delete each file in the trash folder on a low-priority background thread.

If the moveToTrash parameter is false, then the given directory is deleted directly.

If the sync flag is true, then the delete operation runs to completion before this function returns. Otherwise, deletion occurs asynchronously.

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.

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).

NS_CStringAppendData.

This function appends data to the existing value of aStr.

Parameters:
aStrabstract string reference to be modified
aDatacharacter buffer
aDataLengthnumber of characters to append (pass PR_UINT32_MAX to append until a null-character is encountered)
Returns:
NS_OK if function succeeded

This function does not necessarily null-terminate aStr upon completion. The behavior depends on the implementation of the abstract string, aStr. If aStr is a reference to a nsStringContainer, then its data will be null- terminated by this function.