Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsILayoutHistoryState Class Reference

#include <nsILayoutHistoryState.h>

Inheritance diagram for nsILayoutHistoryState:
Inheritance graph
[legend]
Collaboration diagram for nsILayoutHistoryState:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD AddState (const nsCString &aKey, nsPresState *aState)=0
 Set |aState| as the state object for |aKey|.
NS_IMETHOD GetState (const nsCString &aKey, nsPresState **aState)=0
 Look up the state object for |aKey|.
NS_IMETHOD RemoveState (const nsCString &aKey)=0
 Remove the state object for |aKey|.

Detailed Description

Definition at line 51 of file nsILayoutHistoryState.h.


Member Function Documentation

NS_IMETHOD nsILayoutHistoryState::AddState ( const nsCString aKey,
nsPresState aState 
) [pure virtual]

Set |aState| as the state object for |aKey|.

This transfers_ownership of |aState| to the LayoutHistoryState. It will be freed when RemoveState() is called or when the LayoutHistoryState is destroyed.

Implemented in nsLayoutHistoryState.

NS_IMETHOD nsILayoutHistoryState::GetState ( const nsCString aKey,
nsPresState **  aState 
) [pure virtual]

Look up the state object for |aKey|.

Implemented in nsLayoutHistoryState.

Remove the state object for |aKey|.

Implemented in nsLayoutHistoryState.


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