mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
* Style fixes in PlaylistInterface.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
||||||
*
|
*
|
||||||
|
* Copyright 2010-2012, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
||||||
* Copyright 2011, Leo Franchi <lfranchi@kde.org>
|
* Copyright 2011, Leo Franchi <lfranchi@kde.org>
|
||||||
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
||||||
*
|
*
|
||||||
@@ -18,15 +19,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "PlaylistInterface.h"
|
#include "PlaylistInterface.h"
|
||||||
#include "utils/Logger.h"
|
|
||||||
#include "Result.h"
|
#include "Result.h"
|
||||||
#include "Pipeline.h"
|
#include "Pipeline.h"
|
||||||
#include "Source.h"
|
#include "Source.h"
|
||||||
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
|
||||||
|
|
||||||
PlaylistInterface::PlaylistInterface ()
|
PlaylistInterface::PlaylistInterface()
|
||||||
: QObject()
|
: QObject()
|
||||||
, m_latchMode( PlaylistModes::StayOnSong )
|
, m_latchMode( PlaylistModes::StayOnSong )
|
||||||
, m_finished( false )
|
, m_finished( false )
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
||||||
*
|
*
|
||||||
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
* Copyright 2010-2012, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
||||||
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
||||||
*
|
*
|
||||||
* Tomahawk is free software: you can redistribute it and/or modify
|
* Tomahawk is free software: you can redistribute it and/or modify
|
||||||
@@ -25,7 +25,6 @@
|
|||||||
#include "playlist/PlayableItem.h"
|
#include "playlist/PlayableItem.h"
|
||||||
#include "Typedefs.h"
|
#include "Typedefs.h"
|
||||||
#include "DllMacro.h"
|
#include "DllMacro.h"
|
||||||
#include "utils/Logger.h"
|
|
||||||
|
|
||||||
namespace Tomahawk
|
namespace Tomahawk
|
||||||
{
|
{
|
||||||
@@ -85,7 +84,7 @@ public:
|
|||||||
//TODO: Get rid of the next two functions once all playlsitinterfaces are factored out
|
//TODO: Get rid of the next two functions once all playlsitinterfaces are factored out
|
||||||
// Some playlist interfaces can wrap other interfaces. When checking for top-level
|
// Some playlist interfaces can wrap other interfaces. When checking for top-level
|
||||||
// equality (say, to compare the currently playing interface) this might be needed
|
// equality (say, to compare the currently playing interface) this might be needed
|
||||||
virtual bool hasChildInterface( Tomahawk::playlistinterface_ptr ) { return false; }
|
virtual bool hasChildInterface( const Tomahawk::playlistinterface_ptr& ) { return false; }
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
virtual void setRepeatMode( PlaylistModes::RepeatMode mode ) = 0;
|
virtual void setRepeatMode( PlaylistModes::RepeatMode mode ) = 0;
|
||||||
|
Reference in New Issue
Block a user