Menu
Home
Blog
Add-ons
Forum
Wiki
Developers
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
components
playqueue
src
sbPlayQueueLibraryListener.h
Go to the documentation of this file.
1
/*
2
*=BEGIN SONGBIRD GPL
3
*
4
* This file is part of the Songbird web player.
5
*
6
* Copyright(c) 2005-2010 POTI, Inc.
7
* http://www.songbirdnest.com
8
*
9
* This file may be licensed under the terms of of the
10
* GNU General Public License Version 2 (the ``GPL'').
11
*
12
* Software distributed under the License is distributed
13
* on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
14
* express or implied. See the GPL for the specific language
15
* governing rights and limitations.
16
*
17
* You should have received a copy of the GPL along with this
18
* program. If not, go to http://www.gnu.org/licenses/gpl.html
19
* or write to the Free Software Foundation, Inc.,
20
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
*
22
*=END SONGBIRD GPL
23
*/
24
25
#ifndef __SBPLAYQUEUELIBRARYLISTENER_H__
26
#define __SBPLAYQUEUELIBRARYLISTENER_H__
27
33
#include <sbILibrary.h>
34
#include <sbIMediaListListener.h>
35
36
class
sbILibrary
;
37
38
class
sbPlayQueueLibraryListener
:
public
sbIMediaListListener
39
{
40
public
:
41
NS_DECL_ISUPPORTS
42
NS_DECL_SBIMEDIALISTLISTENER
43
44
sbPlayQueueLibraryListener
();
45
46
// Returns true if the queue service's sbIMediaListListener methods should
47
// ignore notifications.
48
PRBool
ShouldIgnore
();
49
50
private
:
51
virtual
~sbPlayQueueLibraryListener();
52
53
// Keep track of whether or not the services list listener should ignore
54
// notifications.
55
PRBool mShouldIgnore;
56
57
};
58
59
#endif
/* __SBPLAYQUEUELIBRARYLISTENER_H__ */
sbPlayQueueLibraryListener::ShouldIgnore
PRBool ShouldIgnore()
Definition:
sbPlayQueueLibraryListener.cpp:71
sbIMediaListListener
Interface used to listen to changes to a media list.
Definition:
sbIMediaListListener.idl:48
sbPlayQueueLibraryListener
Definition:
sbPlayQueueLibraryListener.h:38
sbILibrary
Media library abstraction.
Definition:
sbILibrary.idl:82
NS_DECL_ISUPPORTS
NS_DECL_ISUPPORTS
Definition:
sbPlaylistCommandsHelper.cpp:49
sbPlayQueueLibraryListener::sbPlayQueueLibraryListener
NS_DECL_ISUPPORTS NS_DECL_SBIMEDIALISTLISTENER sbPlayQueueLibraryListener()
Definition:
sbPlayQueueLibraryListener.cpp:54