Public Member Functions

mozAutoDocUpdate Class Reference

Helper class to automatically handle batching of document updates. More...

#include <mozAutoDocUpdate.h>

Collaboration diagram for mozAutoDocUpdate:

List of all members.

Public Member Functions

 mozAutoDocUpdate (nsIDocument *aDocument, nsUpdateType aUpdateType, PRBool aNotify)
 ~mozAutoDocUpdate ()

Detailed Description

Helper class to automatically handle batching of document updates.

This class will call BeginUpdate on construction and EndUpdate on destruction on the given document with the given update type. The document could be null, in which case no updates will be called. The constructor also takes a boolean that can be set to false to prevent notifications.


Constructor & Destructor Documentation

mozAutoDocUpdate::mozAutoDocUpdate ( nsIDocument *  aDocument,
nsUpdateType  aUpdateType,
PRBool  aNotify 
) [inline]
mozAutoDocUpdate::~mozAutoDocUpdate (  )  [inline]

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