sbMediacoreManager.cpp File Reference
#include "sbMediacoreManager.h"
#include <nsIAppStartupNotifier.h>
#include <nsIClassInfoImpl.h>
#include <nsIDOMDocument.h>
#include <nsIDOMElement.h>
#include <nsIDOMEventTarget.h>
#include <nsIDOMWindow.h>
#include <nsIDOMXULElement.h>
#include <nsIMutableArray.h>
#include <nsIObserverService.h>
#include <nsIProgrammingLanguage.h>
#include <nsISupportsPrimitives.h>
#include <nsIThread.h>
#include <nsArrayUtils.h>
#include <nsAutoLock.h>
#include <nsAutoPtr.h>
#include <nsComponentManagerUtils.h>
#include <nsMemory.h>
#include <nsServiceManagerUtils.h>
#include <nsThreadUtils.h>
#include <prprf.h>
#include <sbIMediacore.h>
#include <sbIMediacoreBalanceControl.h>
#include <sbIMediacoreCapabilities.h>
#include <sbIMediacoreFactory.h>
#include <sbIMediacorePlaybackControl.h>
#include <sbIMediacoreSequencer.h>
#include <sbIMediacoreSimpleEqualizer.h>
#include <sbIMediacoreVolumeControl.h>
#include <sbIMediacoreVotingParticipant.h>
#include <sbIPrompter.h>
#include <sbIWindowWatcher.h>
#include <sbBaseMediacoreEventTarget.h>
#include <sbMediacoreVotingChain.h>
#include <sbProxiedComponentManager.h>
#include "sbMediacoreDataRemotes.h"
#include "sbMediacoreSequencer.h"
Include dependency graph for sbMediacoreManager.cpp:

Go to the source code of this file.

Macros

#define NS_PROFILE_STARTUP_OBSERVER_ID   "profile-after-change"
 
#define NS_QUIT_APPLICATION_GRANTED_OBSERVER_ID   "quit-application-granted"
 
#define NS_PROFILE_SHUTDOWN_OBSERVER_ID   "profile-before-change"
 
#define SB_CORE_HASHTABLE_SIZE   (4)
 
#define SB_FACTORY_HASHTABLE_SIZE   (4)
 
#define SB_CORE_BASE_NAME   "mediacore"
 
#define SB_CORE_NAME_SUFFIX   "@core.songbirdnest.com"
 
#define SB_EQUALIZER_DEFAULT_BAND_COUNT   sbBaseMediacoreMultibandEqualizer::EQUALIZER_BAND_COUNT_DEFAULT
 
#define SB_EQUALIZER_BANDS   sbBaseMediacoreMultibandEqualizer::EQUALIZER_BANDS_10
 
#define SB_EQUALIZER_DEFAULT_BAND_GAIN   (0.0)
 
#define SB_PVW_CHROME_URL   "chrome://songbird/content/xul/videoWindow.xul"
 
#define SB_PVW_NAME   "VideoWindow"
 
#define SB_PVW_ELEMENT_ID   "video-box"
 
#define TRACE(args)   /* nothing */
 
#define LOG(args)   /* nothing */
 

Functions

 NS_IMPL_QUERY_INTERFACE11_CI (sbMediacoreManager, sbIMediacoreManager, sbPIMediacoreManager, sbIMediacoreEventTarget, sbIMediacoreFactoryRegistrar, sbIMediacoreVideoWindow, sbIMediacoreMultibandEqualizer, sbIMediacoreVolumeControl, sbIMediacoreVoting, nsISupportsWeakReference, nsIClassInfo, nsIObserver) NS_IMPL_CI_INTERFACE_GETTER5(sbMediacoreManager
 
template<class T >
PLDHashOperator appendElementToArray (T *aData, void *aArray)
 
 NS_IMPL_QUERY_INTERFACE1 (sbMediacoreVideoWindowListener, nsIDOMEventListener) sbMediacoreVideoWindowListener
 

Variables

 sbIMediacoreManager
 
 sbIMediacoreEventTarget
 
 sbIMediacoreFactoryRegistrar
 
 sbIMediacoreVoting
 

Macro Definition Documentation

#define LOG (   args)    /* nothing */

Definition at line 110 of file sbMediacoreManager.cpp.

#define NS_PROFILE_SHUTDOWN_OBSERVER_ID   "profile-before-change"

Definition at line 75 of file sbMediacoreManager.cpp.

#define NS_PROFILE_STARTUP_OBSERVER_ID   "profile-after-change"

Definition at line 73 of file sbMediacoreManager.cpp.

#define NS_QUIT_APPLICATION_GRANTED_OBSERVER_ID   "quit-application-granted"

Definition at line 74 of file sbMediacoreManager.cpp.

#define SB_CORE_BASE_NAME   "mediacore"

Definition at line 82 of file sbMediacoreManager.cpp.

#define SB_CORE_HASHTABLE_SIZE   (4)

Definition at line 78 of file sbMediacoreManager.cpp.

#define SB_CORE_NAME_SUFFIX   "@core.songbirdnest.com"

Definition at line 83 of file sbMediacoreManager.cpp.

Definition at line 88 of file sbMediacoreManager.cpp.

#define SB_EQUALIZER_DEFAULT_BAND_COUNT   sbBaseMediacoreMultibandEqualizer::EQUALIZER_BAND_COUNT_DEFAULT

Definition at line 85 of file sbMediacoreManager.cpp.

#define SB_EQUALIZER_DEFAULT_BAND_GAIN   (0.0)

Definition at line 91 of file sbMediacoreManager.cpp.

#define SB_FACTORY_HASHTABLE_SIZE   (4)

Definition at line 79 of file sbMediacoreManager.cpp.

#define SB_PVW_CHROME_URL   "chrome://songbird/content/xul/videoWindow.xul"

Definition at line 94 of file sbMediacoreManager.cpp.

#define SB_PVW_ELEMENT_ID   "video-box"

Definition at line 98 of file sbMediacoreManager.cpp.

#define SB_PVW_NAME   "VideoWindow"

Definition at line 96 of file sbMediacoreManager.cpp.

#define TRACE (   args)    /* nothing */

To log this module, set the following environment variable: NSPR_LOG_MODULES=sbMediacoreManager:5

Definition at line 109 of file sbMediacoreManager.cpp.

Function Documentation

template<class T >
PLDHashOperator appendElementToArray ( T *  aData,
void *  aArray 
)

Definition at line 174 of file sbMediacoreManager.cpp.

NS_IMPL_QUERY_INTERFACE1 ( sbMediacoreVideoWindowListener  ,
nsIDOMEventListener   
)

Definition at line 1936 of file sbMediacoreManager.cpp.

Variable Documentation

Definition at line 128 of file sbMediacoreManager.cpp.

Definition at line 128 of file sbMediacoreManager.cpp.

Definition at line 128 of file sbMediacoreManager.cpp.