sbScriptableFilterItems Class Reference

#include <sbScriptableFilterItems.h>

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

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSICLASSINFO
NS_DECL_NSISECURITYCHECKEDCOMPONENT
NS_DECL_NSISIMPLEENUMERATOR
NS_IMETHOD 
GetClassName (char **aClassName)
 
NS_IMETHOD GetScriptableFlags (PRUint32 *aScriptableFlags)
 
NS_IMETHOD GetProperty (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
 
NS_IMETHOD NewEnumerate (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 enum_op, jsval *statep, jsid *idp, PRBool *_retval)
 
NS_IMETHOD NewResolve (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, PRUint32 flags, JSObject **objp, PRBool *_retval)
 
NS_IMETHOD Equality (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval val, PRBool *_retval)
 
 sbScriptableFilterItems (sbIFilterableMediaListView *aFilterList, sbRemotePlayer *aPlayer)
 
 sbScriptableFilterItems (const nsCOMArray< sbIMediaItem > &aItems, sbRemotePlayer *aPlayer)
 
- Public Member Functions inherited from sbXPCScriptableStub
virtual ~sbXPCScriptableStub ()
 
NS_IMETHOD PreCreate (nsISupports *nativeObj, JSContext *cx, JSObject *globalObj, JSObject **parentObj)
 
NS_IMETHOD Create (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj)
 
NS_IMETHOD PostCreate (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj)
 
NS_IMETHOD AddProperty (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
 
NS_IMETHOD DelProperty (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
 
NS_IMETHOD GetProperty (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
 
NS_IMETHOD SetProperty (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
 
NS_IMETHOD Enumerate (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRBool *_retval)
 
NS_IMETHOD NewEnumerate (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 enum_op, jsval *statep, jsid *idp, PRBool *_retval)
 
NS_IMETHOD NewResolve (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, PRUint32 flags, JSObject **objp, PRBool *_retval)
 
NS_IMETHOD Convert (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 type, jsval *vp, PRBool *_retval)
 
NS_IMETHOD Finalize (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj)
 
NS_IMETHOD CheckAccess (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, PRUint32 mode, jsval *vp, PRBool *_retval)
 
NS_IMETHOD Call (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 argc, jsval *argv, jsval *vp, PRBool *_retval)
 
NS_IMETHOD Construct (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 argc, jsval *argv, jsval *vp, PRBool *_retval)
 
NS_IMETHOD HasInstance (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval val, PRBool *bp, PRBool *_retval)
 
NS_IMETHOD Trace (nsIXPConnectWrappedNative *wrapper, JSTracer *trc, JSObject *obj)
 
NS_IMETHOD Equality (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval val, PRBool *_retval)
 
NS_IMETHOD OuterObject (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, JSObject **_retval)
 
NS_IMETHOD InnerObject (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, JSObject **_retval)
 
NS_IMETHOD PostCreatePrototype (JSContext *cx, JSObject *proto)
 

Protected Member Functions

nsresult ReadEnumerator ()
 

Protected Attributes

nsCOMPtr
< sbIFilterableMediaListView
mListView
 
nsCOMArray< sbIMediaItemmItems
 
PRBool mHasItems
 
nsRefPtr< sbRemotePlayermPlayer
 
PRUint32 mEnumerationIndex
 

Detailed Description

The final results of filtering via sbScriptableListFilter Acts like a collection of media items

Definition at line 50 of file sbScriptableFilterItems.h.

Constructor & Destructor Documentation

nsISimpleEnumerator sbScriptableFilterItems::sbScriptableFilterItems ( sbIFilterableMediaListView aFilterList,
sbRemotePlayer aPlayer 
)

Definition at line 72 of file sbScriptableFilterItems.cpp.

sbScriptableFilterItems::sbScriptableFilterItems ( const nsCOMArray< sbIMediaItem > &  aItems,
sbRemotePlayer aPlayer 
)

Definition at line 87 of file sbScriptableFilterItems.cpp.

Member Function Documentation

NS_IMETHODIMP sbScriptableFilterItems::Equality ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  val,
PRBool *  _retval 
)

Definition at line 395 of file sbScriptableFilterItems.cpp.

Here is the call graph for this function:

NS_IMETHODIMP sbScriptableFilterItems::GetClassName ( char **  aClassName)

Definition at line 145 of file sbScriptableFilterItems.cpp.

NS_IMETHODIMP sbScriptableFilterItems::GetProperty ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  id,
jsval *  vp,
PRBool *  _retval 
)

Definition at line 174 of file sbScriptableFilterItems.cpp.

Here is the call graph for this function:

NS_IMETHODIMP sbScriptableFilterItems::GetScriptableFlags ( PRUint32 *  aScriptableFlags)

Definition at line 155 of file sbScriptableFilterItems.cpp.

NS_IMETHODIMP sbScriptableFilterItems::NewEnumerate ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
PRUint32  enum_op,
jsval *  statep,
jsid *  idp,
PRBool *  _retval 
)

Definition at line 239 of file sbScriptableFilterItems.cpp.

Here is the call graph for this function:

NS_IMETHODIMP sbScriptableFilterItems::NewResolve ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  id,
PRUint32  flags,
JSObject **  objp,
PRBool *  _retval 
)

Definition at line 335 of file sbScriptableFilterItems.cpp.

Here is the call graph for this function:

nsresult sbScriptableFilterItems::ReadEnumerator ( )
protected

Definition at line 107 of file sbScriptableFilterItems.cpp.

Here is the caller graph for this function:

Member Data Documentation

PRUint32 sbScriptableFilterItems::mEnumerationIndex
protected

Definition at line 95 of file sbScriptableFilterItems.h.

PRBool sbScriptableFilterItems::mHasItems
protected

Definition at line 93 of file sbScriptableFilterItems.h.

nsCOMArray<sbIMediaItem> sbScriptableFilterItems::mItems
protected

Definition at line 92 of file sbScriptableFilterItems.h.

nsCOMPtr<sbIFilterableMediaListView> sbScriptableFilterItems::mListView
protected

Definition at line 91 of file sbScriptableFilterItems.h.

nsRefPtr<sbRemotePlayer> sbScriptableFilterItems::mPlayer
protected

Definition at line 94 of file sbScriptableFilterItems.h.


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