sbPropertyChange Class Reference

#include <sbLibraryChangeset.h>

Inheritance diagram for sbPropertyChange:
[legend]
Collaboration diagram for sbPropertyChange:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBICHANGEOPERATION
NS_DECL_SBIPROPERTYCHANGE
NS_DECL_NSICLASSINFO 
sbPropertyChange ()
 
nsresult InitWithValues (PRUint32 aOperation, const nsAString &aID, const nsAString &aOldValue, const nsAString &aNewValue)
 
nsresult SetOperation (PRUint32 aOperation)
 
nsresult SetID (const nsAString &aID)
 
nsresult SetOldValue (const nsAString &aOldValue)
 
nsresult SetNewValue (const nsAString &aNewValue)
 

Protected Attributes

PRUint32 mOperation
 
nsString mID
 
nsString mOldValue
 
nsString mNewValue
 

Additional Inherited Members

- Public Attributes inherited from sbIPropertyChange
readonly attribute AString id
 
readonly attribute AString oldValue
 
readonly attribute AString newValue
 
- Public Attributes inherited from sbIChangeOperation
const unsigned long UNKNOWN = 0
 
const unsigned long ADDED = 0x10
 
const unsigned long MODIFIED = 0x20
 
const unsigned long MOVED = 0x30
 
const unsigned long DELETED = 0x40
 
readonly attribute unsigned long operation
 

Detailed Description

Definition at line 51 of file sbLibraryChangeset.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_SBICHANGEOPERATION NS_DECL_SBIPROPERTYCHANGE NS_DECL_NSICLASSINFO sbPropertyChange::sbPropertyChange ( )

Member Function Documentation

nsresult sbPropertyChange::InitWithValues ( PRUint32  aOperation,
const nsAString &  aID,
const nsAString &  aOldValue,
const nsAString &  aNewValue 
)

Definition at line 75 of file sbLibraryChangeset.cpp.

nsresult sbPropertyChange::SetID ( const nsAString &  aID)

Definition at line 94 of file sbLibraryChangeset.cpp.

nsresult sbPropertyChange::SetNewValue ( const nsAString &  aNewValue)

Definition at line 106 of file sbLibraryChangeset.cpp.

nsresult sbPropertyChange::SetOldValue ( const nsAString &  aOldValue)

Definition at line 100 of file sbLibraryChangeset.cpp.

nsresult sbPropertyChange::SetOperation ( PRUint32  aOperation)

Definition at line 88 of file sbLibraryChangeset.cpp.

Member Data Documentation

nsString sbPropertyChange::mID
protected

Definition at line 81 of file sbLibraryChangeset.h.

nsString sbPropertyChange::mNewValue
protected

Definition at line 84 of file sbLibraryChangeset.h.

nsString sbPropertyChange::mOldValue
protected

Definition at line 83 of file sbLibraryChangeset.h.

PRUint32 sbPropertyChange::mOperation
protected

Definition at line 79 of file sbLibraryChangeset.h.


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