sbiTunesImporterEnumeratePropertiesData Struct Reference

Public Member Functions

 sbiTunesImporterEnumeratePropertiesData (sbIPropertyArray *aProperties, nsresult *rv)
bool NeedsUpdating () const

Public Attributes

nsCOMPtr< sbIPropertyArraymProperties
nsCOMPtr< sbIMutablePropertyArraymChangedProperties

Detailed Description

This is a helper function that enumerates properties and compares the values to the property array passed to the constructor. It builds a list of properties that are different in mChangedProperties.

Definition at line 1297 of file sbiTunesImporter.cpp.

Constructor & Destructor Documentation

sbiTunesImporterEnumeratePropertiesData::sbiTunesImporterEnumeratePropertiesData ( sbIPropertyArray aProperties,
nsresult *  rv 

Initialize the internal properties and the changed property array

Definition at line 1302 of file sbiTunesImporter.cpp.

Member Function Documentation

bool sbiTunesImporterEnumeratePropertiesData::NeedsUpdating ( ) const

Returns true if there are any changed properties

Definition at line 1310 of file sbiTunesImporter.cpp.

Member Data Documentation

nsCOMPtr<sbIMutablePropertyArray> sbiTunesImporterEnumeratePropertiesData::mChangedProperties

The list of properties that have changed

Definition at line 1324 of file sbiTunesImporter.cpp.

nsCOMPtr<sbIPropertyArray> sbiTunesImporterEnumeratePropertiesData::mProperties

A list of properties to compare

Definition at line 1320 of file sbiTunesImporter.cpp.

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