* extraced PlaylistListView into it's own files
* lots of changes, besically these make the Playlist window usable
- drag sorting works (hold shift to copy instead of move items)
- removing items with the delete key works
- dragging files/folders from Tracker works (hold shift to insert
them in the existing playlist, othewise the new files replace
the playlist)
* some refactoring and bug fixes in previously unused functionality
* Playlist can now be locked (needed to be), and is in ControllerView,
MainWin and PlaylistListView
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21305 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#ifndef __CONTROLLER_H
|
||||
#define __CONTROLLER_H
|
||||
|
||||
#include <Entry.h>
|
||||
#include <MediaDefs.h>
|
||||
#include <MediaNode.h>
|
||||
#include <List.h>
|
||||
@@ -76,6 +77,7 @@ public:
|
||||
void Stop();
|
||||
void Play();
|
||||
void Pause();
|
||||
void TogglePlaying();
|
||||
|
||||
bool IsPaused() const;
|
||||
bool IsStopped() const;
|
||||
@@ -158,6 +160,7 @@ private:
|
||||
volatile bool fStopped;
|
||||
float fVolume;
|
||||
|
||||
entry_ref fRef;
|
||||
BMediaFile * fMediaFile;
|
||||
BMediaTrack * fAudioTrack;
|
||||
BMediaTrack * fVideoTrack;
|
||||
|
||||
Reference in New Issue
Block a user