sipxmedialib  Version 3.3
MpQueuePlayerListener.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2006 SIPez LLC.
3 // Licensed to SIPfoundry under a Contributor Agreement.
4 //
5 // Copyright (C) 2004-2006 SIPfoundry Inc.
6 // Licensed by SIPfoundry under the LGPL license.
7 //
8 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
9 // Licensed to SIPfoundry under a Contributor Agreement.
10 //
11 // $$
13 
14 
15 #ifndef _MpQueuePlayerListener_h_
16 #define _MpQueuePlayerListener_h_
17 
18 // SYSTEM INCLUDES
19 // APPLICATION INCLUDES
20 #include "mp/MpPlayerEvent.h"
21 
22 // DEFINES
23 // MACROS
24 // EXTERNAL FUNCTIONS
25 // EXTERNAL VARIABLES
26 // CONSTANTS
27 // STRUCTS
28 // TYPEDEFS
29 // FORWARD DECLARATIONS
30 class MpPlayer;
31 
32 
33 //:Listener interface for the MpPlayer object.
35 {
36 /* //////////////////////////// PUBLIC //////////////////////////////////// */
37 public:
38 
39 /* ============================ CREATORS ================================== */
41 
42 
43 
44 /* ============================ MANIPULATORS ============================== */
46 
47  virtual void queuePlayerStarted() = 0 ;
48  //:Called when a queue player has started playing its playlist.
49 
50  virtual void queuePlayerStopped() = 0 ;
51  //:Called when a queue player has stopped playing its playlist.
52  // This event will occur after the play list completes or when aborted.
53 
54  virtual void queuePlayerAdvanced() = 0 ;
55  //:Called when the queue player advances to a new playlist element.
56  // This method is called before the new playlist element is played and
57  // may occur multiple times before a queuePlayerStopped.
58 
60 
61 /* ============================ ACCESSORS ================================= */
63 
64 
66 
67 /* ============================ INQUIRY =================================== */
69 
70 
72 
73 /* //////////////////////////// PROTECTED ///////////////////////////////// */
74 protected:
75 
76 
77 /* //////////////////////////// PRIVATE /////////////////////////////////// */
78 private:
79 };
80 
81 /* ============================ INLINE METHODS ============================ */
82 
83 #endif // _MpQueuePlayerListener_h_
Definition: MpPlayer.h:92
virtual void queuePlayerAdvanced()=0
virtual void queuePlayerStopped()=0
virtual void queuePlayerStarted()=0
Definition: MpQueuePlayerListener.h:34