sbDeviceListenerIgnore Class Reference

#include <sbDeviceUtils.h>

Public Types

enum  ListenerType { MEDIA_LIST = 1, LIBRARY = 2, ALL = 3 }
 

Public Member Functions

 sbDeviceListenerIgnore (sbBaseDevice *aDevice, PRUint32 aListenerType=ALL)
 
 sbDeviceListenerIgnore (sbBaseDevice *aDevice, sbIMediaItem *aItem)
 
 ~sbDeviceListenerIgnore ()
 
void SetIgnore (PRBool aIgnore)
 

Detailed Description

Class to help temporary turn off listening

Definition at line 538 of file sbDeviceUtils.h.

Member Enumeration Documentation

Enumerator
MEDIA_LIST 
LIBRARY 
ALL 

Definition at line 541 of file sbDeviceUtils.h.

Constructor & Destructor Documentation

sbDeviceListenerIgnore::sbDeviceListenerIgnore ( sbBaseDevice aDevice,
PRUint32  aListenerType = ALL 
)
inline

Turns off listeners for all items

Definition at line 550 of file sbDeviceUtils.h.

Here is the call graph for this function:

sbDeviceListenerIgnore::sbDeviceListenerIgnore ( sbBaseDevice aDevice,
sbIMediaItem aItem 
)

Turns off listeners for a specific item

Definition at line 2227 of file sbDeviceUtils.cpp.

Here is the call graph for this function:

sbDeviceListenerIgnore::~sbDeviceListenerIgnore ( )

Turns the listeners back on if they are turned off

Definition at line 2238 of file sbDeviceUtils.cpp.

Here is the call graph for this function:

Member Function Documentation

void sbDeviceListenerIgnore::SetIgnore ( PRBool  aIgnore)

Turns the listeners on or off if they are not already

Turns the listners back on if they are turned off

Definition at line 2251 of file sbDeviceUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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